diff --git a/tests/ResolutionTest.php b/tests/ResolutionTest.php new file mode 100644 index 00000000..3e152d83 --- /dev/null +++ b/tests/ResolutionTest.php @@ -0,0 +1,24 @@ +assertInstanceOf(Resolution::class, $resolution); + } + + public function testXY(): void + { + $resolution = new Resolution(1.2, 3.4); + $this->assertEquals(1.2, $resolution->x()); + $this->assertEquals(3.4, $resolution->y()); + } +}