Created
July 6, 2020 23:34
-
-
Save wapcaplet/4d4c323acfcbc5d410840d3d9bbeaf77 to your computer and use it in GitHub Desktop.
Results of tests/cata_test [battery],[ammo] in wapcaplet:fix-batmod branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Results of tests/cata_test [battery],[ammo] in wapcaplet:fix-batmod branch | |
Starting the actual test at Mon Jul 6 17:33:15 2020 | |
Filters: [battery],[ammo] | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
tst is a Catch v2.12.0 host application. | |
Run with -? for options | |
------------------------------------------------------------------------------- | |
battery tool mod test | |
Given: tool compatible with light batteries | |
When: medium battery mod is installed | |
Then: medium battery is now the default | |
------------------------------------------------------------------------------- | |
battery_mod_test.cpp:98 | |
............................................................................... | |
battery_mod_test.cpp:102: FAILED: | |
CHECK( mag_default.str() == "medium_battery_cell" ) | |
with expansion: | |
"medium_atomic_battery_cell" | |
== | |
"medium_battery_cell" | |
------------------------------------------------------------------------------- | |
battery tool mod test | |
Given: tool compatible with light batteries | |
When: medium battery mod is installed | |
And when: a medium battery is installed | |
Then: battery installation succeeds | |
------------------------------------------------------------------------------- | |
battery_mod_test.cpp:114 | |
............................................................................... | |
battery_mod_test.cpp:116: FAILED: | |
CHECK( result.success() ) | |
with expansion: | |
false | |
------------------------------------------------------------------------------- | |
battery tool mod test | |
Given: tool compatible with light batteries | |
When: medium battery mod is installed | |
And when: a medium battery is installed | |
Then: the flashlight has a battery | |
------------------------------------------------------------------------------- | |
battery_mod_test.cpp:119 | |
............................................................................... | |
battery_mod_test.cpp:121: FAILED: | |
CHECK( flashlight.magazine_current() ) | |
with expansion: | |
nullptr | |
------------------------------------------------------------------------------- | |
battery tool mod test | |
Given: tool compatible with light batteries | |
When: medium battery mod is installed | |
And when: a medium battery is installed | |
And when: the battery is charged | |
Then: the flashlight has charges | |
------------------------------------------------------------------------------- | |
battery_mod_test.cpp:129 | |
............................................................................... | |
battery_mod_test.cpp:131: FAILED: | |
CHECK( flashlight.ammo_remaining() == bat_charges ) | |
with expansion: | |
0 == 500 (0x1f4) | |
------------------------------------------------------------------------------- | |
battery and tool properties | |
flashlight | |
has a default magazine | |
------------------------------------------------------------------------------- | |
battery_mod_test.cpp:231 | |
............................................................................... | |
battery_mod_test.cpp:235: FAILED: | |
CHECK( mag_default.str() == "light_battery_cell" ) | |
with expansion: | |
"light_atomic_battery_cell" | |
== | |
"light_battery_cell" | |
=============================================================================== | |
test cases: 6 | 4 passed | 2 failed | |
assertions: 213 | 208 passed | 5 failed | |
Test world "Tom" left for inspection. | |
Ended test at Mon Jul 6 17:33:15 2020 | |
The test took 0.008 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment