mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
tests for the const iterators as well
This commit is contained in:
parent
e01f461b64
commit
2d2f825f64
@ -257,6 +257,8 @@ public:
|
|||||||
iter = temp--;
|
iter = temp--;
|
||||||
xlnt_assert_equals((*iter).title(), "Sheet2");
|
xlnt_assert_equals((*iter).title(), "Sheet2");
|
||||||
xlnt_assert_equals((*temp).title(), "Sheet1");
|
xlnt_assert_equals((*temp).title(), "Sheet1");
|
||||||
|
|
||||||
|
xlnt_assert_equals(xlnt::const_worksheet_iterator{}, xlnt::const_worksheet_iterator{});
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_get_index()
|
void test_get_index()
|
||||||
|
@ -607,6 +607,9 @@ public:
|
|||||||
xlnt_assert_equals(cell.value<std::string>(), cell.reference().to_string());
|
xlnt_assert_equals(cell.value<std::string>(), cell.reference().to_string());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
xlnt_assert_equals(xlnt::const_cell_iterator{}, xlnt::const_cell_iterator{});
|
||||||
|
xlnt_assert_equals(xlnt::const_range_iterator{}, xlnt::const_range_iterator{});
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_const_reverse_iterators()
|
void test_const_reverse_iterators()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user