Commit Graph

35 Commits

Author SHA1 Message Date
Lephenixnoir ba626bf366
stdio: scanf tests 2024-01-14 22:03:25 +01:00
Alice Rozengarden 2a74ccdd07 add test for getline(3) & getdelim(3) 2022-03-30 23:50:47 +02:00
Lephenixnoir cf40969c23
stdio: add tests for standard streams and misc functions 2022-01-14 18:39:49 +01:00
Lephenixnoir 58bab5137f
stdio: tests for fdopen(), fputc(), fputs(), fgetc(), fgets() 2022-01-14 17:17:00 +01:00
Lephenixnoir 419fef4f1e
stdio: tests for ungetc, update and append modes 2022-01-12 10:20:55 +01:00
Lephenixnoir ab763cf712
stdio: tests for simple fwrite() patterns and line buffering 2022-01-10 21:33:25 +01:00
Lephenixnoir 71126cdd00
stdio: basic tests for fread() 2022-01-10 15:59:42 +01:00
Lephenixnoir 12a157f01e
stdio: basic tests for fopen() 2022-01-02 21:00:04 +01:00
Lephenixnoir 25c67e6e10
unistd, sys/stat: stat(), mkdir() and rmdir() 2021-12-30 18:15:57 +01:00
Lephenixnoir 61ade4412d
unistd, dirent: path manipulation, folder enumeration 2021-12-23 01:20:41 +01:00
Lephenixnoir 8280bbb919
unistd: more advanced file manipulation tests 2021-12-13 18:40:19 +01:00
Lephenixnoir 7f27191726
time: generic and platform-specific functions 2021-12-04 22:00:40 +01:00
Lephenixnoir 02fe82d903
basic fx-9860G support and some filesystem tests (WIP) 2021-12-04 21:21:02 +01:00
Lephenixnoir 684f827e99
stdlib: add a test for TinyMT random numbers 2021-06-08 11:46:48 +02:00
Lephenixnoir 287d9fb695
add exit and printf tests 2021-06-08 10:50:34 +02:00
Lephenixnoir 40349e99b7
signal: add basic signals 2021-05-30 10:51:52 +02:00
Lephenixnoir f5e55ecc22
setjmp: add a test to longjmp out of an interrupt 2021-05-30 10:44:27 +02:00
Lephenixnoir 49a8669669
setjmp: add basic long jump tests 2021-05-29 18:55:05 +02:00
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 5b003e5bc4
string: add a test for memchr 2021-05-23 13:18:18 +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 9b7c5ae70f
ctype: reduce number of assertions 2021-05-21 10:14:24 +02:00
Lephenixnoir 3984056ee5
stdlib: add tests for strol, strtoul, strtoll 2021-05-20 10:59:19 +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 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