<commit_before>﻿namespace MBrace.FsPickler.Tests

#nowarn "346"

open System
open System.IO
open System.Reflection
open System.Runtime.Serialization

open MBrace.FsPickler
open MBrace.FsPickler.Combinators
open MBrace.FsPickler.Hashing

module TestTypes =

    type SimpleDU =
        | A
        | B
        | C
        | D of int * string
        | E
        | F of bool

    type Peano =
        | Zero
        | Succ of Peano

    type GenericDU<'T> = GValue of 'T

    type Either<'T,'S> = L of 'T | R of 'S<commit_msg>Add generic struct DU test type<commit_after>﻿namespace MBrace.FsPickler.Tests

#nowarn "346"

open System
open System.IO
open System.Reflection
open System.Runtime.Serialization

open MBrace.FsPickler
open MBrace.FsPickler.Combinators
open MBrace.FsPickler.Hashing

module TestTypes =

    type SimpleDU =
        | A
        | B
        | C
        | D of int * string
        | E
        | F of bool

    type Peano =
        | Zero
        | Succ of Peano

    type GenericDU<'T> = GValue of 'T

    [<Struct>]
    type GenericStructDU<'T> = SGValue of 'T

    type Either<'T,'S> = L of 'T | R of 'S
{'fraction_non_alphanumeric': 0.08606921029281278, 'fraction_numerical': 0.005323868677905945, 'mean_word_length': 2.2045454545454546, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5610157', 'n_tokens_mistral': 411, 'n_tokens_neox': 385, 'n_words': 114}