LayoutModel lmBox2 = new LayoutModel(2, 1, 32, 32, 0);
LayoutModel lmBox4 = new LayoutModel(2, 2, 32, 32, 0);
for (int y=1; y<38; y++) {
for (int x=1; x<38; x++) {
MatrixData matrix = new MatrixData(x,y);
Generator g = new Fire(matrix);
Effect e = new PassThru(matrix);
Visual visual = new Visual(g, e, m, c);
IFader fader = new Switch(matrix, 100);
OutputMapping map = new OutputMapping(fader, 0);
assertNotNull(matrix.getScreenBufferForDevice(visual, map));
assertNotNull(matrix.getScreenBufferForDevice(visual, lmDefault, map, output));
assertNotNull(matrix.getScreenBufferForDevice(visual, lmBox1, map, output));
assertNotNull(matrix.getScreenBufferForDevice(visual, lmBox2, map, output));
assertNotNull(matrix.getScreenBufferForDevice(visual, lmBox4, map, output));
}
}
}