MyraMath
fail


Source: tests/unit/fail.cpp

1 // ========================================================================= //
2 // This file is part of MyraMath, copyright (c) 2014-2019 by Ryan A Chilton //
3 // and distributed by MyraCore, LLC. See LICENSE.txt for license terms. //
4 // ========================================================================= //
5 
11 #include <tests/myratest.h>
12 
13 ADD_TEST("fail","[unit]")
14  {
15  REQUIRE(false);
16  }


Results: [FAIL]

[FAIL]
REQUIRE() failure in TEST = "fail", located within tests/unit/fail.cpp at line 15
Note: the expression "false" evaluated into "false"


Go back to Summary of /test programs.