Skip to content

Commit 8348957

Browse files
committed
Test subtraction path
1 parent e131dda commit 8348957

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/github_issue_1260.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ void test()
1616

1717
const T add_val {lhs + rhs};
1818
BOOST_TEST_EQ(add_val, res);
19+
20+
const T sub_val {lhs - boost::decimal::abs(rhs)};
21+
BOOST_TEST_EQ(sub_val, res);
1922
}
2023

2124
int main()

0 commit comments

Comments
 (0)