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