From ec4ef828884b104deaf2d21be28a4de0cfd2f7b5 Mon Sep 17 00:00:00 2001 From: Blake Madden Date: Sun, 3 Mar 2024 14:21:34 -0500 Subject: [PATCH] Fix unit test --- tests/tetests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tetests.cpp b/tests/tetests.cpp index 9f0ad4e..9935338 100644 --- a/tests/tetests.cpp +++ b/tests/tetests.cpp @@ -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"));