mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
easy test
This commit is contained in:
parent
6a4690d109
commit
539b0f778e
|
@ -622,4 +622,13 @@ public:
|
||||||
TS_ASSERT(xlnt::cell_reference("A2") > xlnt::cell_reference("A1"));
|
TS_ASSERT(xlnt::cell_reference("A2") > xlnt::cell_reference("A1"));
|
||||||
TS_ASSERT(xlnt::cell_reference("A2") >= xlnt::cell_reference("A2"));
|
TS_ASSERT(xlnt::cell_reference("A2") >= xlnt::cell_reference("A2"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void test_anchor()
|
||||||
|
{
|
||||||
|
xlnt::workbook wb;
|
||||||
|
xlnt::cell cell(wb.get_active_sheet(), "A1");
|
||||||
|
auto anchor = cell.get_anchor();
|
||||||
|
TS_ASSERT_EQUALS(anchor.first, 0);
|
||||||
|
TS_ASSERT_EQUALS(anchor.second, 0);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user