From 933beab97615167977706c57df7743196dc9020f Mon Sep 17 00:00:00 2001 From: Xpol Wan Date: Wed, 29 Jun 2016 17:23:43 +0800 Subject: [PATCH] Fixes warnings about compare double to bool. --- source/worksheet/tests/test_worksheet.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/worksheet/tests/test_worksheet.hpp b/source/worksheet/tests/test_worksheet.hpp index 191ae671..a78a821d 100644 --- a/source/worksheet/tests/test_worksheet.hpp +++ b/source/worksheet/tests/test_worksheet.hpp @@ -1036,7 +1036,7 @@ public: auto range = ws.get_range("A2:B3"); TS_ASSERT_EQUALS((*(*range.begin()).begin()).get_value(), 3.14); - TS_ASSERT_EQUALS((*(--(*(--range.end())).end())).get_value(), false); + TS_ASSERT_EQUALS((*(--(*(--range.end())).end())).get_value(), false); } void test_get_squared_range() @@ -1049,7 +1049,7 @@ public: auto range = ws.get_squared_range(1, 2, 2, 3); TS_ASSERT_EQUALS((*(*range.begin()).begin()).get_value(), 3.14); - TS_ASSERT_EQUALS((*(--(*(--range.end())).end())).get_value(), false); + TS_ASSERT_EQUALS((*(--(*(--range.end())).end())).get_value(), false); } void test_operators()