Simon Cruanes
1a23731730
remove conditional over OCaml >= 4.08
...
in particular, all the let-ops are now unconditional!
2023-06-24 15:22:21 -04:00
Simon Cruanes
b72fac90c7
compat: test cannot use let-ops
2023-06-01 15:21:52 -04:00
Simon Cruanes
2b4cf1e663
remove dbg message
2023-06-01 15:03:46 -04:00
Simon Cruanes
9f1ecdba27
another fix for CCParse and slices
2023-06-01 15:03:46 -04:00
Simon Cruanes
c7de9389b0
fix bug in CCParse
2023-06-01 15:03:46 -04:00
Simon Cruanes
6d013251fe
test: add test for CCParse
2023-06-01 15:03:46 -04:00
Simon Cruanes
a8449e9847
Merge pull request #428 from c-cube/wip-pp
...
pretty printer
2023-06-01 15:03:05 -04:00
Simon Cruanes
87b10adcca
test: update the cbor tests
2023-04-19 22:11:11 -04:00
Simon Cruanes
ae7b1aef48
compat
2023-04-19 21:21:47 -04:00
Simon Cruanes
679534597d
fix(pp): slicing needs attention
2023-04-19 21:21:46 -04:00
Simon Cruanes
91a2ecee4a
Pp: rename wrap to ext; more doc, more combinators
2023-04-19 21:21:46 -04:00
Simon Cruanes
4d77a17029
Pp: expose generic output; simplify extensions
2023-04-19 21:21:45 -04:00
Simon Cruanes
d36c57459e
feat(Pp): add wrap for extension nodes
2023-04-19 21:21:45 -04:00
Simon Cruanes
cea844fdde
add tests for Pp
2023-04-19 21:21:44 -04:00
Simon Cruanes
c5c72e0a50
move cbor tests
2023-04-19 21:21:43 -04:00
Fardale
ff3e838553
CCArray(feat): Add max,argmax,min,argmin and their _exn conterpart
2023-04-12 11:52:57 +02:00
Simon Cruanes
4a46fa4d71
add a op test for Fun_vec
2023-04-09 14:59:39 -04:00
Simon Cruanes
d985019fe1
compat 4.03
2023-04-07 12:27:55 -04:00
Simon Cruanes
84173382db
feat(CCParse): add take_until_success
...
this reads a slice using the given parser to parse the end delimiter
(e.g "end gpg signature" 😉 )
2023-04-07 11:45:12 -04:00
Simon Cruanes
0b72812a55
more tests for Vec
2023-03-13 19:34:20 -04:00
Simon Cruanes
83009aac10
feat(cchash): native FNV hash for int64/int32
2023-03-13 15:37:00 -04:00
Samuel Hym
f58310913a
Allow explicit fallback to bytecode for various tests
...
Relax the requirements for the tests, to fall back on the bytecode
version when the native version is not available. Otherwise the tests
will fail on bytecode-only architectures.
2022-12-22 23:08:14 +01:00
Samuel Hym
1367d5b855
Rewrite a test so that it passes also on the bytecode backend
...
Rewrite a test to shorten the lexical scope of the string it builds
because, in the bytecode backend, a variable is deemed live at least as
long as its lexical scope.
Reference: https://github.com/ocaml/ocaml/pull/10071
2022-12-22 23:08:14 +01:00
Simon Cruanes
6a415e963a
fix(cbor): use int64 as main int type
2022-07-06 22:27:24 -04:00
Simon Cruanes
b7d19e9dc5
test
2022-07-05 21:29:03 -04:00
Simon Cruanes
8b751754ba
test: compat 4.03
2022-07-04 22:16:46 -04:00
Simon Cruanes
feaa8ecf7d
test BV.init
2022-07-04 22:15:13 -04:00
Simon Cruanes
b24feaf2d6
strong BV test
2022-07-04 22:09:25 -04:00
Simon Cruanes
e01b758de8
more tests
2022-07-04 22:04:50 -04:00
Simon Cruanes
30cb40c71f
test: add strong tests for BV
...
we use the classic QCheck construction with a random list of operations, and
test:
- internal invariant after each operation
- same cardinal and content as reference implementation after each operation
2022-07-04 21:56:14 -04:00
Simon Cruanes
3dd63964fb
Merge branch 'master' into ccbv_bytes2
2022-07-04 14:35:25 -04:00
Simon Cruanes
3c5b2329bc
tests belong in specific packages
2022-07-04 13:36:06 -04:00
Simon Cruanes
10865eaced
reformat
2022-07-04 13:36:06 -04:00
Simon Cruanes
3e2379660e
move cbor tests into tests/
2022-07-02 23:49:41 -04:00
Simon Cruanes
e242b004ad
use preproc to deal with 4.03 and others < 4.08 versions
2022-07-02 23:39:33 -04:00
Simon Cruanes
55b59b5b91
move more tests into testlib
2022-07-02 22:25:29 -04:00
Simon Cruanes
3b2cd786e2
finish removing qtest
2022-07-02 22:12:40 -04:00
Simon Cruanes
1e4a22fbf2
refactor: finish migration to qtest
2022-07-02 22:09:25 -04:00
Simon Cruanes
1111c0fa9a
wip: convert tests into testlib
2022-07-02 14:47:03 -04:00
Simon Cruanes
91ddccc782
compat 4.03
2022-07-02 01:08:59 -04:00
Simon Cruanes
b695918e99
move all core tests to new testlib
2022-07-02 00:29:25 -04:00
Simon Cruanes
49c06e93fa
wip: use testlib for tests
2022-06-30 22:28:19 -04:00
Simon Cruanes
369b208385
test: migrate part of CCList's tests to experiment with testlib
2022-06-30 21:15:16 -04:00
Simon Cruanes
ed31060d7d
merge remaining tests as qtest, remove lwt stuff including bench_io
2015-09-16 19:46:29 +02:00
Simon Cruanes
507fe33086
cleanup
2015-09-16 19:26:56 +02:00
Simon Cruanes
eb1c9bc0be
move many tests into their modules with qtest
2015-09-16 16:44:10 +02:00
Simon Cruanes
73c84e14cc
add missing tests
2015-08-25 09:47:57 +02:00
Simon Cruanes
26b4b14979
fix build system
2015-03-30 23:33:09 +02:00
Simon Cruanes
f426a97a31
fix quick tests
2015-02-18 10:59:27 +01:00
Simon Cruanes
a5b78fd940
remove uses of |> in roseTree and its tests
2015-01-26 11:57:39 +01:00