From 270485e9b6466bd42bc5c75365b2a49036ad66f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johel=20Ernesto=20Guerrero=20Pe=C3=B1a?= Date: Sat, 30 May 2020 23:25:57 -0400 Subject: [PATCH] test: remove redundancy --- test/unit_test/static/quantity_point_test.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/unit_test/static/quantity_point_test.cpp b/test/unit_test/static/quantity_point_test.cpp index e75bd1d6..8873b7f6 100644 --- a/test/unit_test/static/quantity_point_test.cpp +++ b/test/unit_test/static/quantity_point_test.cpp @@ -95,13 +95,6 @@ static_assert(quantity_point::max().relative().count( // unary member operators -static_assert([km=km]() mutable { return ++km; }().relative().count() == 1001); -static_assert([km=km]() mutable { return --km; }().relative().count() == 999); -static_assert([km=km]() mutable { return km++; }().relative().count() == 1000); -static_assert([km=km]() mutable { return km--; }().relative().count() == 1000); - -// binary member operators - static_assert([](auto v) { auto vv = v++; return std::pair(v, vv);