note that selectionSlices is tested

This commit is contained in:
Mitchell Hashimoto
2022-08-05 11:40:52 -07:00
parent 263ca66b74
commit dd98768400

View File

@ -481,7 +481,8 @@ fn selectionSlices(self: Screen, sel: Selection) struct {
top: []Cell, top: []Cell,
bot: []Cell, bot: []Cell,
} { } {
// TODO: test // Note: this function is tested via selectionString
assert(sel.start.y < self.totalRows()); assert(sel.start.y < self.totalRows());
assert(sel.end.y < self.totalRows()); assert(sel.end.y < self.totalRows());
assert(sel.start.x < self.cols); assert(sel.start.x < self.cols);