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:
@ -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;
|
||||
|
Reference in New Issue
Block a user