Commit Graph

15 Commits

Author SHA1 Message Date
2933676ea2 Fixed bug in hex formatting, wrote tests for hex int formatting 2022-02-15 11:34:49 +01:00
f9099ce6ee Added tests for count_digits_base, decimal, binary and hex 2022-02-15 11:12:19 +01:00
fa0fef37db Rewrote format_impl.h functions to work with both decimal and binary 2022-02-15 09:37:41 +01:00
c3eb1e2909 Wrote tests for binary int formatting 2022-02-15 09:35:36 +01:00
9c22b2a084 Added test cases for floats 2022-02-13 23:40:16 +01:00
bb5f4d5272 Renamed a bunch of identifiers to make sure there are no clashes with software this might be used in (fmt -> const_fmt) 2022-02-13 17:56:09 +01:00
2ecc001a64 Put everything into a new 'const_fmt' namespace; Renamed namespace detail to const_fmt_detail 2022-02-13 17:48:24 +01:00
9626f5efc4 Added examples folder and CMakeLists.txt in repo root directory 2022-02-13 17:40:33 +01:00
50635a8e2f Removed src directory 2022-02-13 17:29:55 +01:00
55ff861f67 Renamed inc directory to const_fmt 2022-02-09 17:51:37 +01:00
040dae6bf3 Added tests for negative int formatting 2021-11-22 12:46:33 +01:00
5ad045fa58 Made code easier to read 2021-11-22 11:07:14 +01:00
800c141a87 Added more tests; is_digit(s, i) -> is_digit<s>(i); Minor other stuff 2021-11-22 10:53:55 +01:00
7b5290983a Moved parse_types into namespace detail; Added test Parse_ast_nodes_only 2021-11-22 08:14:04 +01:00
5a4b9e3298 Started adding unit tests 2021-11-21 22:46:19 +01:00