Skip to content

Instantly share code, notes, and snippets.

@wapcaplet
Created April 1, 2020 23:47
Show Gist options
  • Save wapcaplet/a6a20cf83e188491e286c210e4083b94 to your computer and use it in GitHub Desktop.
Save wapcaplet/a6a20cf83e188491e286c210e4083b94 to your computer and use it in GitHub Desktop.
cata_test with --order rand
tests/cata_test --order rand
Starting the actual test at Wed Apr 1 17:44:31 2020
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cata_test is a Catch v2.9.1 host application.
Run with -? for options
-------------------------------------------------------------------------------
npc_can_target_player
-------------------------------------------------------------------------------
npc_test.cpp:427
...............................................................................
npc_test.cpp:440: FAILED:
REQUIRE( rl_dist( g->u.pos(), hostile.pos() ) <= 1 )
with expansion:
14 <= 1
-------------------------------------------------------------------------------
npc_talk_vars
-------------------------------------------------------------------------------
npc_talk_test.cpp:745
...............................................................................
npc_talk_test.cpp:92: FAILED:
CHECK( !g->u.in_vehicle )
with expansion:
false
-------------------------------------------------------------------------------
vehicle_power
Given: Reactor and solar panels
-------------------------------------------------------------------------------
vehicle_power_test.cpp:22
...............................................................................
vehicle_power_test.cpp:34: FAILED:
CHECK( !g->u.in_vehicle )
with expansion:
false
-------------------------------------------------------------------------------
total crafting time with or without interruption
Given: a recipe and all the required tools and materials to craft it
When: crafting begins, and continues until the craft is completed
-------------------------------------------------------------------------------
crafting_test.cpp:521
...............................................................................
crafting_test.cpp:325: FAILED:
REQUIRE( g->u.lighting_craft_speed_multiplier( rec ) == 1.0 )
with expansion:
0.0f == 1.0
-------------------------------------------------------------------------------
total crafting time with or without interruption
Given: a recipe and all the required tools and materials to craft it
When: crafting begins, but is interrupted after 2 turns
-------------------------------------------------------------------------------
crafting_test.cpp:534
...............................................................................
crafting_test.cpp:325: FAILED:
REQUIRE( g->u.lighting_craft_speed_multiplier( rec ) == 1.0 )
with expansion:
0.0f == 1.0
-------------------------------------------------------------------------------
starve_test
-------------------------------------------------------------------------------
stomach_contents_test.cpp:88
...............................................................................
stomach_contents_test.cpp:113: FAILED:
CHECK( day == expected_day )
with expansion:
51 == 30
-------------------------------------------------------------------------------
npc_talk_start
-------------------------------------------------------------------------------
npc_talk_test.cpp:106
...............................................................................
npc_talk_test.cpp:92: FAILED:
CHECK( !g->u.in_vehicle )
with expansion:
false
===============================================================================
test cases: 348 | 342 passed | 6 failed
assertions: 2528152 | 2528145 passed | 7 failed
Test world "Tom" left for inspection.
Ended test at Wed Apr 1 17:45:36 2020
The test took 64.390 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment