We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3668d2 commit 4064061Copy full SHA for 4064061
tests/variable_test.cpp
@@ -11,13 +11,15 @@ bool freeVariableTest() {
11
bool boundVariableTest() {
12
Variable<int> intVar;
13
intVar.bind(0);
14
- return intVar.isBound();
+ // break this
15
+ //return intVar.isBound();
16
+ return !intVar.isBound();
17
}
18
19
TEST_CASE( "An new variable is unbound", "[variable]" ) {
- REQUIRE( freeVariableTest() );
20
+ REQUIRE( freeVariableTest() == true );
21
22
23
TEST_CASE( "A variable with a value is bound", "[variable]" ) {
24
+ REQUIRE( boundVariableTest() == true );
25
0 commit comments