Skip to content

Commit 1cfe846

Browse files
committed
feat(CameraTests): update with raster check
1 parent 21caa87 commit 1cfe846

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/test/java/labs/introtoprogramming/lab5/scene/CameraTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public void testInstantiation() {
1717
assertEquals(cam.size(), 1, DELTA);
1818
assertEquals(cam.fieldOfView(), 2 * Math.atan(1), DELTA);
1919
assertEquals(cam.aspectRatio(), 600.0 / 400.0, DELTA);
20+
assertEquals(DUMMY_RASTER, cam.raster());
2021
}
2122

2223
@Test

0 commit comments

Comments
 (0)