Lephenixnoir
0048fb03ee
string: add tests for a bunch of naive str functions
2021-05-23 17:43:14 +02:00
Lephenixnoir
32b2bad9fc
string: add a test for strlen
2021-05-23 15:56:45 +02:00
Lephenixnoir
86857d9d4f
enable SH4 CPU capabilities
2021-05-23 15:56:20 +02:00
Lephenixnoir
5b003e5bc4
string: add a test for memchr
2021-05-23 13:18:18 +02:00
Lephenixnoir
95d4af238b
allow browsing both visualization and logs
2021-05-23 12:30:45 +02:00
Lephenixnoir
f852d9f7f3
string: add a test for memcmp
2021-05-22 09:09:28 +02:00
Lephenixnoir
65979454ba
stdlib: add tests for strtod, strtof and atof
2021-05-21 23:55:17 +02:00
Lephenixnoir
f7be1f758f
stdlib: add a test for strtold
2021-05-21 22:48:45 +02:00
Lephenixnoir
ec7626d789
allow tests to be skipped
2021-05-21 10:18:59 +02:00
Lephenixnoir
fec8637312
cmake: link with OpenLibm
...
Once the FxLibc gets a CMake module this will be automatic.
2021-05-21 10:15:09 +02:00
Lephenixnoir
9b7c5ae70f
ctype: reduce number of assertions
2021-05-21 10:14:24 +02:00
Lephenixnoir
b8c83ce9b4
inttypes: add brief tests for strtoimax and strtoumax
...
All the tests are done in strtol/strtoll and strtoul/strtoull, the only
important thing is to check that the correct size type is used.
2021-05-20 16:03:33 +02:00
Lephenixnoir
e8c2e8dae6
stdlib: add saturation tests for strtol etc.
2021-05-20 15:37:52 +02:00
Lephenixnoir
3984056ee5
stdlib: add tests for strol, strtoul, strtoll
2021-05-20 10:59:19 +02:00
Lephenixnoir
82bf04c67f
update coloring in fbar for empty tests that have run
2021-05-20 09:31:32 +02:00
Lephenixnoir
d93b77724f
stdlib: add a test for strtoull
2021-05-19 21:45:56 +02:00
Lephenixnoir
a487b64fb3
stdlib: add a test to check size of integer and floating-point types
...
This dictates the behavior of strtoll, strtoull, strtold mainly.
2021-05-19 21:45:56 +02:00
Lephenixnoir
ae242222b3
improve test logic, coloring, and fbar display
...
* Store whether the test was run in a boolean, to avoid classifying
empty tests as pending when they have run
* Update color scheme accordingly
* Change the fbar first-level pixel share to give any extra pixel
resulting from division truncation to the "done" section rather than
the "empty" section, as this would sometimes cause the "empty"
section to get 1 pixel for 0 tests
2021-05-19 21:45:56 +02:00
Lephenixnoir
6e8b333e3b
inttypes: add type size inspection, and tests for imaxabs and imaxdiv
...
Tests for imaxabs and imaxdiv are not really needed as this is just the
same thing is llabs and lldiv.
2021-05-19 21:45:55 +02:00
Lephenixnoir
770388a6e5
stdlib: add tests for abs, labs, llabs, div, ldiv, lldiv
2021-05-19 10:14:37 +02:00
Lephenixnoir
c7a6d0484a
test, flog: logging improvements
...
* Add an ft_assert_eval() shortcut to check equality, log results, and
assert at the same time. Somewhat heavy, but good enough.
* Improve line numbers.
2021-05-19 10:14:37 +02:00
Lephenixnoir
ee0beb8028
ctype: add a test for case conversion macros and functions
2021-05-18 11:54:41 +02:00
Lephenixnoir
194a65c663
ctype: add a test for character class macros and functions
2021-05-18 11:42:52 +02:00
Lephenixnoir
daa7ff43ca
fbar: give each section enough room to show its assertion count
...
Proportions are only a suggestion at this point but to be honest they
kind of always were.
2021-05-18 11:42:52 +02:00
Lephenixnoir
ab754d9bdd
flog: add a widget to show a line-numbered scrollable string log
2021-05-18 11:42:52 +02:00
Lephenixnoir
c32e91b7f4
first version - and it works too!
2021-05-14 11:10:03 +02:00