Merge pull request #54 from xpol/fixes-test-warnings

Fixes warnings about compare double to bool.
This commit is contained in:
Thomas Fussell 2016-07-04 12:17:31 -04:00 committed by GitHub
commit 0ee716f94f

View File

@ -1035,7 +1035,7 @@ public:
auto range = ws.get_range("A2:B3");
TS_ASSERT_EQUALS((*(*range.begin()).begin()).get_value<double>(), 3.14);
TS_ASSERT_EQUALS((*(--(*(--range.end())).end())).get_value<double>(), false);
TS_ASSERT_EQUALS((*(--(*(--range.end())).end())).get_value<bool>(), false);
}
void test_get_squared_range()
@ -1048,7 +1048,7 @@ public:
auto range = ws.get_squared_range(1, 2, 2, 3);
TS_ASSERT_EQUALS((*(*range.begin()).begin()).get_value<double>(), 3.14);
TS_ASSERT_EQUALS((*(--(*(--range.end())).end())).get_value<double>(), false);
TS_ASSERT_EQUALS((*(--(*(--range.end())).end())).get_value<bool>(), false);
}
void test_operators()