Функция «propertyCheck», на которую ссылается мой тестовый метод, НЕ распознается, когда я пытаюсь создать свой тест.
Я думал, что propertyChecked — это основная функция фреймворка FsCheck?
Какую еще церемонию мне нужно провести?
module Tests.Units
open FsUnit
open NUnit.Framework
open NUnit.Core.Extensibility
open FsCheck.NUnit
open FsCheck.NUnit.Addin
let add x y = (x + y)
let commutativeProperty x y =
let result1 = add x y
let result2 = add y x // reversed params
result1 = result2
[<Test>]
let ``When I add two numbers, the result should not depend on parameter order``()=
propertyCheck commutativeProperty |> should equal true
propertyCheck
? - person Mark Seemann   schedule 29.11.2015