Skip to content

Commit

Permalink
Normalize test assertion argument order (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Mar 15, 2024
1 parent a53138f commit 866402a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/autodiff/ExpressionTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ using sleipnir::detail::Zero;
TEST_CASE("Expression - Default constructor", "[Expression]") {
auto expr = MakeExpressionPtr();

CHECK(0.0 == expr->value);
CHECK(sleipnir::ExpressionType::kConstant == expr->type);
CHECK(expr->value == 0.0);
CHECK(expr->type == sleipnir::ExpressionType::kConstant);
}

TEST_CASE("Expression - Zero", "[Expression]") {
Expand Down

0 comments on commit 866402a

Please sign in to comment.