We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9385390 + 20a9468 commit a7bfabbCopy full SHA for a7bfabb
.github/workflows/common.yml
@@ -87,7 +87,7 @@ jobs:
87
uses: actions/checkout@v4
88
with:
89
repository: c-cube/qcheck
90
- ref: v0.25
+ ref: v0.26
91
path: multicoretests/qcheck
92
93
- name: Pre-Setup
src/floatarray/stm_tests.ml
@@ -108,7 +108,7 @@ struct
108
| Get i, Res ((Result (Float,Exn),_), r) ->
109
if i < 0 || i >= List.length s
110
then r = Error (Invalid_argument "index out of bounds")
111
- else r = Ok (List.nth s i)
+ else Result.equal ~ok:Float.equal ~error:(=) r (Ok (List.nth s i))
112
| Set (i,_), Res ((Result (Unit,Exn),_), r) ->
113
114
@@ -128,7 +128,7 @@ struct
128
| To_list, Res ((List Float,_),fs) -> List.equal Float.equal fs s
129
| Mem f, Res ((Bool,_),r) -> r = List.mem f s
130
| Sort, Res ((Unit,_),r) -> r = ()
131
- | To_seq, Res ((Seq Float,_),r) -> Seq.equal (=) r (List.to_seq s)
+ | To_seq, Res ((Seq Float,_),r) -> Seq.equal Float.equal r (List.to_seq s)
132
| _, _ -> false
133
end
134
0 commit comments