assertSame(800, DeviceModel::V1->width(Orientation::Landscape)); $this->assertSame(480, DeviceModel::V1->height(Orientation::Landscape)); } public function test_v1_portrait_dimensions_are_swapped(): void { $this->assertSame(480, DeviceModel::V1->width(Orientation::Portrait)); $this->assertSame(800, DeviceModel::V1->height(Orientation::Portrait)); } public function test_native_dimensions_ignore_orientation(): void { // The firmware streams 800x480 EPD-native rows regardless of how the // photo was framed; renderer rotates the input photo, then writes in // EPD scan order. $this->assertSame(800, DeviceModel::V1->nativeWidth()); $this->assertSame(480, DeviceModel::V1->nativeHeight()); } }