Skip to content
#

property-testing

Here are 49 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 property-testing 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 property-testing topic, visit your repo's landing page and select "manage topics."

Learn more