Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Mar 3, 2024
1 parent ca142ae commit ec4ef82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tetests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ TEST_CASE("Logical operators", "[logic]")
CHECK(0 == p.evaluate());
// AND and OR
p.compile(("0 || 1 && 1 || 0 && 1"));
constexpr double result{ (0 || 1 && 1 || 0 && 1) };
constexpr double result{ (0 || 1 & 1 || 0 & 1) };
CHECK(result == p.evaluate());
// equality
p.compile(("5=5"));
Expand Down

0 comments on commit ec4ef82

Please sign in to comment.