foxygit / fake-08-xbox360 Log in
commit e496b4dc7ffd0d6d47a309ac63b5300c69087407
Author:     jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Thu Sep 3 20:52:45 2020 -0600
Commit:     jtothebell <j.to.the.bell@gmail.com>
CommitDate: Tue Sep 15 17:09:08 2020 -0600

    add ignored sspr test to come back to
---
 test/graphicstests.cpp | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/test/graphicstests.cpp b/test/graphicstests.cpp
index a9621b2..5d31c7a 100644
--- a/test/graphicstests.cpp
+++ b/test/graphicstests.cpp
@@ -838,6 +838,32 @@ TEST_CASE("graphics class behaves as expected") {

         checkPoints(graphics, expectedPoints);
     }
+    /*//TODO: come back and make SSPR stretch exactly how pico 8 does
+    SUBCASE("sspr(...) draws unevenly stretched sprite") {
+        graphics->cls();
+
+        for(uint8_t i = 0; i < 16; i++) {
+            for(uint8_t j = 0; j < 16; j++) {
+                graphics->sset(i, j, i);
+            }
+        }
+
+        graphics->sspr(3,1,3,1,100,50,5,1,false,false);
+
+        debugScreen(graphics);
+
+        std::vector<coloredPoint> expectedPoints = {
+            {100, 50, 3},
+            {101, 50, 3},
+            {102, 50, 4},
+            {103, 50, 5},
+            {104, 50, 5},
+        };
+
+        checkPoints(graphics, expectedPoints);
+    }
+    */
+