Commit Graph

46 Commits

Author SHA1 Message Date
8ec8b1dfe0 Refactors tests to better fit with how bazel runs them. 2023-04-24 13:59:21 -07:00
3bf43ef62a Configures for bazel build and test. 2023-04-24 02:13:10 -07:00
1e7c4eb726 Lots of implementation for sbf-cpp. 2023-04-24 01:08:22 -07:00
bb95df74f4 Removes old comments from colors.cpp. 2023-04-22 00:39:58 -07:00
1f45248ccd Removes unknown values from fill functions.
Indexes will no longer match Ids.
Updated all tests to use char* argv[] instead of char** argv.
2023-04-22 00:38:48 -07:00
e8e9904de3 Implements freebies and tests. 2023-04-22 00:32:17 -07:00
e466196c1a Adds UTF-8 BOM to all C++ files. 2023-04-21 22:45:16 -07:00
4b4fda698f Updates comment in sbf.h with latest qb source. 2023-04-21 22:44:34 -07:00
5e57ac277d Configures clang-format and clangd.
Runs clang-format on all c++ files.
2023-04-21 21:57:29 -07:00
64c7632806 Adds TODOs for c++ version. 2023-04-18 00:29:24 -07:00
ce6a75eb80 Converts the ncurses test from wchar_t to regular char. 2023-04-18 00:28:21 -07:00
891890f779 Adds documentation to the implemented modules. 2023-04-18 00:11:29 -07:00
9b344b5d6b Implements virtues and tests. 2023-04-17 23:22:22 -07:00
cc64937a2e Makes TinyTest wrap expected and actual outputs in quotes.
Fixes a type on a TinyTest error message.
2023-04-17 23:00:10 -07:00
1f6df1227c Implements utils and tests. 2023-04-17 22:58:50 -07:00
d7df3a2be4 Adds tests for utils functions. 2023-04-17 19:47:39 -07:00
204a6a27df Implements ranks and tests. 2023-04-17 19:35:46 -07:00
cf1d7f5896 Implements genders and tests. 2023-04-17 18:54:24 -07:00
f8394a8d03 Implements disciplines and tests. 2023-04-17 18:44:55 -07:00
018cce461d Implements derangements and tests. 2023-04-17 18:27:38 -07:00
91271f38b0 Fixes abilities tests to check operator!=. 2023-04-16 07:17:49 -07:00
a4b0bc7e7b Implements colors and tests. 2023-04-16 04:08:51 -07:00
5501de76e2 Adds doxygen comments to SBF namespace.
Adds doxygen header to header files.
2023-04-16 04:08:33 -07:00
382aa14611 Adds doxygen comments and MIT license comment to Abilities.h. 2023-04-16 03:01:18 -07:00
2e937ce02c Implements clans and tests. 2023-04-15 23:25:00 -07:00
670c517326 Implements backgrounds and tests. 2023-04-15 22:54:04 -07:00
3111b9a8aa Implements Attributes.
Moves attribute functions from Character.cpp to Attributes.cpp.
2023-04-15 22:15:42 -07:00
11ccce8ce1 Fixes indentation in Archetypes_test.cpp. 2023-04-15 22:14:17 -07:00
ffbcce2d35 Implements Archetypes functions.
Adds tests for them.
2023-04-15 18:46:14 -07:00
3c30150a70 Adds operator != to AbilityType.
Makes Abiites tests use the vector compare helper.
Makes Abilities tests report "no errors" instead of "" for success.
2023-04-15 18:45:37 -07:00
a5fff60a61 Adds vector compare helper to TinyTest. 2023-04-15 18:43:04 -07:00
fb02bf059a Disables clang warning for a not yet used color variable. 2023-04-15 16:30:32 -07:00
b3bb6e4031 Converts from wstring to regular string.
Cleans up empty test suites to return no tests instead of a single pass.
2023-04-15 16:30:06 -07:00
e68973c1b1 Documents Abilities.
Adds full test coverage for Abilities.
2023-04-15 16:27:36 -07:00
3751d78dfe TinyTest improvements.
Adds ostream formatting for tuples and vectors.
Moves execute_suite implementation into test.h.
Adds a better test execution sequence and better test reporting.
Adds message support for test errors/failures/skips.
Removes more dead code from test.cpp.
2023-04-15 16:22:40 -07:00
7f95c4dabb Removes a bunch of old comments. 2023-04-14 16:18:06 -07:00
247b8c760a save-state-1 2023-04-12 22:11:23 -07:00
c2f04de4f8 Changes to test system to allow per class tests. 2023-03-31 03:08:57 -07:00
c5c8bddb48 Filled in all c++ headers from QB code.
Copied methods not yet implemented from QB to cpp files.
2023-03-30 00:51:00 -07:00
64eac55804 Adds some unicode and ncurses links to Notes.md. 2023-03-28 19:26:47 -07:00
c47c7e5a93 Streamlines tests greatly. 2023-03-28 18:56:21 -07:00
bc961f6ba3 Cleans up the way tests work in test.cpp. 2023-03-28 01:45:05 -07:00
e2a60b14da Adds test for make_wrap_lines. 2023-03-26 19:56:51 -07:00
b6d097f84f Cleanup, comments, and making extra test aps. 2023-03-26 03:55:57 -07:00
732283b699 Adds ncursesw support. 2023-03-26 03:00:47 -07:00
f19ec79b1e Adds a basic c++ app using ncurses and a build system. 2023-03-25 17:12:32 -07:00