Commit Graph

  • 5b3c58fad5 Create a readme, incl. instructions for test exec trunk robert 2025-10-14 13:23:43 -05:00
  • e2ba02f4d1 Make test-case magic ctor's image size-aware. robert 2025-10-13 10:59:13 -05:00
  • 8ccf6bd475 Track decode progress and stop at W*H pixels robert 2025-10-13 10:47:25 -05:00
  • 04f83a55d2 Add "full" image decode test to decoder.rs robert 2025-10-13 10:05:31 -05:00
  • 0b2408bda1 Fix test: panic when decoded data is wrong size robert 2025-10-13 08:33:29 -05:00
  • a6f18e5ea9 Rename codec.rs test function, use new err enum robert 2025-10-13 08:03:43 -05:00
  • 7ba2e7760b Add an error enum to test/codec.rs robert 2025-10-13 08:02:38 -05:00
  • e31aa5decb Move main.rs to a test, drop dep on png crate robert 2025-10-12 21:18:32 -05:00
  • 5ae4aa5823 Drop hack to fix byte count. robert 2024-10-14 20:29:37 -05:00
  • ef5d962621 Add PNG write-out machinery robert 2024-10-14 20:22:12 -05:00
  • 9cffd665ca Make Decoder parts public so they can be used robert 2024-10-14 20:20:40 -05:00
  • 431c808b72 Fix test module Decoder calls and constructors robert 2024-10-14 15:48:34 -05:00
  • f4eef2f863 Relocate the old Decoder::new method to mod test robert 2024-10-14 15:45:44 -05:00
  • d5e7b0c818 New Decoder creation function, more metadata robert 2024-10-14 15:09:03 -05:00
  • ef977d7990 Ignore the test images folder robert 2024-10-14 13:22:51 -05:00
  • 3b73033599 Add gitignore template from Gitea robert 2024-10-14 13:17:44 -05:00
  • d88a1eab51 Add try_read_u32 function to read 4 u8s to a u32 robert 2024-10-14 13:22:10 -05:00
  • c6e94fcb5b Check-in broken & partial try_read_u32 function robert 2024-07-02 13:19:14 -05:00
  • 6a5e2b3ab9 Use the external constant value MAGIC. robert 2024-07-02 13:16:28 -05:00
  • 0a43a8b9f7 Split into a library and many modules robert 2024-06-14 16:40:28 -05:00
  • 3a35dc3a20 Iterators are melting my brain robert 2024-05-10 16:44:59 -05:00
  • 761beac5fd Cargo format robert 2024-05-09 16:28:23 -05:00
  • 41d547f3ed Relocate the Decoder constructor hacks robert 2024-05-09 15:44:32 -05:00
  • c0778ae887 Make those tests pass! robert 2024-05-09 15:40:03 -05:00
  • 69fad49286 Fix previous pixel test robert 2024-05-09 14:26:08 -05:00
  • 97ec583442 Fix backbuffer test robert 2024-05-09 14:08:26 -05:00
  • b9aa3cf28f Tests for prev_pixel and backbuffer robert 2024-05-08 09:48:19 -05:00
  • 8b99642e4c Fix: Luma unpack test robert 2024-05-07 09:51:42 -05:00
  • b05daa503e Fix: wrapping, store previous pixel value robert 2024-05-07 09:48:35 -05:00
  • 62b35b5aba Cargo Format robert 2024-05-07 09:27:04 -05:00
  • 85ad2fa252 OP_DIFF and OP_LUMA roll over and under test cases robert 2024-05-07 09:23:29 -05:00
  • ac4d88eb15 Fix OP_RUN test case robert 2024-05-06 15:48:01 -05:00
  • 79109cc40b Proper operation decoding robert 2024-05-06 15:35:06 -05:00
  • aa18ba5992 Cargo Format robert 2024-05-06 14:37:59 -05:00
  • 1ca0394d4a Run length stored and checked during iteration robert 2024-05-06 14:36:27 -05:00
  • ef4b31dab6 Most of the decoders, but the match is broken robert 2024-05-06 14:18:45 -05:00
  • 4a31b1e20a Change struct to grab input iterator, not slice robert 2024-05-06 11:49:42 -05:00
  • b77f32b2df Unit tests for unpacking each of the op codes robert 2024-05-03 09:53:26 -05:00