]> Kevux Git Server - fll/commit
Update: Add unit tests for f_compare utf string functions.
authorKevin Day <kevin@kevux.org>
Thu, 30 Mar 2023 04:54:50 +0000 (23:54 -0500)
committerKevin Day <kevin@kevux.org>
Thu, 30 Mar 2023 04:54:50 +0000 (23:54 -0500)
commit2fc5fbe4fb858f3a154c3a55960fd9f0435f9a71
tree21793a82b98e62f76e4b578c494848c4669294db
parent37897eed7a894d08219f793104b90dfca6f80c51
Update: Add unit tests for f_compare utf string functions.

I completely forgot about these and later noticed that they are not implemented.
This exposed problems where I neither had up to date utf stings nor did I have all of the expected functions implemented.

I took the lazy route to avoid spending time manually converting everything.
The files are direct copies from the non utf string compare functions.
I then provided functions that convert the regular strings into utf strings.
The comparisons are then against the generated utf strings.
51 files changed:
level_0/f_compare/data/build/settings-tests
level_0/f_compare/tests/unit/c/test-compare-utf.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_except.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_except.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_except_string.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_except_string.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_except_trim.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_except_trim.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_except_trim_string.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_except_trim_string.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_dynamic.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_dynamic.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_dynamic.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_dynamic.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_string.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_string.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_trim.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_trim.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_trim_dynamic.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_trim_dynamic.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_trim_string.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_except_trim_string.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_string.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_string.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_trim.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_trim.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_trim_dynamic.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_trim_dynamic.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_trim_string.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_partial_trim_string.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_string.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_string.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_trim.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_trim.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_trim_string.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_dynamic_trim_string.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_except.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_except.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_except_trim.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_except_trim.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_trim.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-utf_trim.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare.c
level_0/f_compare/tests/unit/c/test-compare.h