quakeforge/libs/util/test
Bill Currie 7b9dc3c878 [plist] Add support for parsing and writing JSON
It seemed like a good idea since vulkan and gltf resources use JSON.
However, plist and json parsing and writing are separate: there's no
auto-detection for parsing, and the appropriate function must be used
for writing (though reading one then writing the other will work, but
may result in some information loss, or even invalid json (binary)).

Escape characters aren't handled quite to spec yet (eg, no \uxxxx).

The tests are pretty lame, but they're taken from rfc7159 and round-trip
correctly (which is a surprise for the fp numbers).
2024-09-14 18:59:48 +09:00
..
Makemodule.am [plist] Add support for parsing and writing JSON 2024-09-14 18:59:48 +09:00
test-bary.c [util] Get tests working with sse2 2021-06-01 18:53:53 +09:00
test-baryvf.c [util] Get tests working with sse2 2021-06-01 18:53:53 +09:00
test-bitop.c [math] Add some bit-op functions 2022-01-23 13:47:14 +09:00
test-bsearch.c [util] Fix an out-by-one in QF_bsearch_r 2023-03-05 18:31:30 +09:00
test-cexpr.c [cexpr] Require designated initializers for exprtype_t 2022-04-24 17:31:17 +09:00
test-cmem.c [util] Implement Sys_Free for windows 2021-07-12 18:55:16 +09:00
test-cs.c [util] Loosen affine test epsilon for SEB 2021-07-29 15:03:54 +09:00
test-csvf.c [simd] Set the homogeneous coord in the csvf test 2021-12-26 12:25:06 +09:00
test-darray.c [util] Add a comment to darray test 2022-09-22 09:35:57 +09:00
test-dq.c Add tests for inverting a dual quad transform. 2012-05-15 21:08:43 +09:00
test-half.c [util] Implement Sys_Free for windows 2021-07-12 18:55:16 +09:00
test-heapsort.c [util] Add functions for binary heaps 2021-08-02 12:44:08 +09:00
test-json.c [plist] Add support for parsing and writing JSON 2024-09-14 18:59:48 +09:00
test-listener.c [util] Add a listener object 2021-11-25 13:36:02 +09:00
test-mat3.c [math] Clean up vector component operations 2022-01-02 01:15:17 +09:00
test-mat4.c [math] Clean up vector component operations 2022-01-02 01:15:17 +09:00
test-plist.c [plist] Use reference counts for items 2023-03-13 11:26:13 +09:00
test-pqueue.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
test-qfs.c Fix some issues found found by valgrind. 2012-01-24 19:54:21 +09:00
test-quat.c [util] Clean up some ULP errors in tests 2023-03-25 21:21:13 +09:00
test-ringbuffer.c [dstring] Rename reserve to open 2024-09-14 15:51:41 +09:00
test-seb.c [util] Make a number of improvements to SEB 2021-07-30 14:57:47 +09:00
test-sebvf.c [util] Loosen up the epsilon on simd seb tests 2021-08-02 23:15:20 +09:00
test-seg.c [util] Fix a pile of memory leaks 2023-03-05 18:31:30 +09:00
test-set.c [build] Add an option to enable ubsan 2024-02-21 22:41:08 +09:00
test-simd.c [util] Fix more ULP issues in the simd tests on arm 2023-03-28 12:43:05 +09:00
test-utf8.c [util] Write some tests for utf8 r/w 2021-07-27 23:29:14 +09:00
test-zone.c [zone] Fix sentinel spelling in unit test 2023-12-21 02:30:39 +09:00