|
1 | | -open BsMocha.Mocha |
| 1 | +open RescriptMocha.Mocha |
2 | 2 | open Arbitrary |
3 | 3 | open Property.Sync |
4 | 4 | module FcAssert = Property.FcAssert |
@@ -102,6 +102,9 @@ describe("combinators", () => { |
102 | 102 | FcAssert.sync(property1(uniqueArray(hexa()), eq)) |
103 | 103 | FcAssert.sync(property1(uniqueArrayWithOptions(hexa(), uniqueArrayOptions(~minLength=5., ~maxLength=10., ~comparator=#SameValue, ())), eq)) |
104 | 104 | FcAssert.sync(property1(uniqueArrayWithOptions(hexa(), uniqueArrayOptionsWithMethodComparator(~minLength=5., ~maxLength=10., ~comparator=\"==", ())), eq)) |
| 105 | + FcAssert.sync(property1(uniqueArrayWithOptions(hexa(), uniqueArrayOptions(~size=#"+4", ())), eq)) |
| 106 | + FcAssert.sync(property1(uniqueArrayWithOptions(hexa(), uniqueArrayOptions(~maxLength=50., ~size=#max, ())), eq)) |
| 107 | + FcAssert.sync(property1(uniqueArrayWithOptions(hexa(), uniqueArrayOptions(~size=#xsmall, ())), eq)) |
105 | 108 | FcAssert.sync(property1(tuple2(hexa(), hexa()), eq)) |
106 | 109 | FcAssert.sync(property1(tuple3(hexa(), hexa(), hexa()), eq)) |
107 | 110 | FcAssert.sync(property1(tuple4(hexa(), hexa(), hexa(), hexa()), eq)) |
@@ -200,7 +203,7 @@ describe("complex built-in arbitraries", () => { |
200 | 203 | FcAssert.sync(property1(tree, constTrue)) |
201 | 204 | }) |
202 | 205 |
|
203 | | - BsMocha.Promise.it("scheduler", () => |
| 206 | + RescriptMocha.Promise.it("scheduler", () => |
204 | 207 | Property.Async.assertProperty1(Arbitrary.Scheduler.scheduler(), s => { |
205 | 208 | open Js.Promise |
206 | 209 | let result = ref(0) |
|
0 commit comments