1
0
mirror of https://github.com/pdewacht/brlaser synced 2025-07-21 08:09:46 +02:00

Arrange blocks in bands of 128 lines

This is more similar to what the Brother driver does. This might
fix #52, #40, etc.
This commit is contained in:
Peter De Wachter
2020-04-20 21:50:21 +02:00
parent e21f52f437
commit 9d7ddda838
3 changed files with 14 additions and 19 deletions

View File

@ -37,16 +37,6 @@ const lest::test specification[] = {
EXPECT(!b.empty());
},
"A block can contain 64 lines",
[] {
block b;
for (int i = 0; i < 64; ++i) {
EXPECT(b.line_fits(1));
b.add_line(vec(1));
}
EXPECT(!b.line_fits(1));
},
"A block has a size limit of about 16 kilobyte",
[] {
block b;