MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

source/tests/test_Goal.cpp:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57};
58
59BOOST_AUTO_TEST_CASE(test_Goal)
60{
61 //TODO: Write tests once goal dependencies are testable
62 LogManager logMgr;
63 logMgr.addSink(std::unique_ptr<LogSink>(new LogSinkConsole()));
64 TestGoal g("name", "arguments");
65 BOOST_CHECK(g.isMet(Seat(), GameMap()));
66}

Callers

nothing calls this directly

Calls 4

addSinkMethod · 0.80
SeatClass · 0.70
GameMapClass · 0.70
isMetMethod · 0.45

Tested by

no test coverage detected