Simon Cruanes
037c55a43d
tailrec
2023-11-19 23:51:47 -05:00
Simon Cruanes
1b3ddb7adf
fix test
2023-11-19 22:25:17 -05:00
Simon Cruanes
1b026f267c
tests: update t_list to check more functions for tail-rec safety
2023-11-19 21:47:39 -05:00
Fardale
d2bdee097e
Apply ocamlformat on t_array.ml
2023-07-12 16:55:22 +02:00
Simon Cruanes
ad10cdc9d5
fix test
2023-06-24 16:05:49 -04:00
Simon Cruanes
979eca042c
remove last refs to CCShims
2023-06-24 15:59:01 -04:00
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
Fardale
ff3e838553
CCArray(feat): Add max,argmax,min,argmin and their _exn conterpart
2023-04-12 11:52:57 +02: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
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
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