diff tests/libcommon/line/main.cpp @ 187:eaa7f85bfc22

Tests: use BOOST_TEST, closes #917 @1h
author David Demelier <markand@malikania.fr>
date Sat, 20 Oct 2018 21:58:32 +0200
parents 16ff680a8a94
children
line wrap: on
line diff
--- a/tests/libcommon/line/main.cpp	Sat Oct 20 21:12:20 2018 +0200
+++ b/tests/libcommon/line/main.cpp	Sat Oct 20 21:58:32 2018 +0200
@@ -59,7 +59,7 @@
 {
 	line line1, line2;
 
-	BOOST_REQUIRE_EQUAL(line1, line2);
+	BOOST_TEST(line2 == line1);
 }
 
 BOOST_AUTO_TEST_CASE(operator_eq1)
@@ -67,7 +67,7 @@
 	line line1{10, 20, 30, 40};
 	line line2{10, 20, 30, 40};
 
-	BOOST_REQUIRE_EQUAL(line1, line2);
+	BOOST_TEST(line2 == line1);
 }
 
 BOOST_AUTO_TEST_CASE(operator_neq)