Skip to content
#

quickcheck

Here are 125 public repositories matching this topic...

lupin-de-mid
lupin-de-mid commented Sep 14, 2021

In tutorial we have sample for genarator of IpAddress

open System.Net
let ipAddressGen : Gen<IPAddress> = gen {
    let! addr = Range.constantBounded () |> Gen.byte |> Gen.array (Range.singleton 4)
    return System.Net.IPAddress addr
}

Anybody could check my translation to csharp? It is'nt idiomatic csharp IMHO

var byteRange = Range.ConstantBoundedByte()

Improve this page

Add a description, image, and links to the quickcheck topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the quickcheck topic, visit your repo's landing page and select "manage topics."

Learn more