Commit graph

18 commits

Author SHA1 Message Date
madmaurice 15c4811804 tests - Sort tests into subdirectories 2023-09-09 14:45:47 +02:00
madmaurice 66c19caaee Use exceptions instead of panic 2023-09-01 23:13:12 +02:00
madmaurice c82d966ba1 test_memory_register - Use value that would not be returned on read error 2023-08-30 22:49:36 +02:00
madmaurice 1cd7d0c2f2 test_cpu_simple - Add test for HALT with IME=1 2023-08-30 22:46:25 +02:00
madmaurice ed202b107e test_cpu_state - Add test for SI 2023-08-30 22:46:06 +02:00
madmaurice 86eeb90868 tests - Add test for memory register 2023-08-30 22:17:17 +02:00
madmaurice 66c98f53fb test_cpu_simple - Add DAA example as a test 2023-08-30 12:56:40 +02:00
madmaurice b434b63b75 tests_cpu_simple - Add test for RST op 2023-08-30 10:48:18 +02:00
madmaurice 517577d546 Improve consistency for including 2023-08-29 23:11:31 +02:00
madmaurice a9b0b37a2e tests - Add test_cpu_prefix 2023-08-29 21:01:23 +02:00
madmaurice cf54c7ec5f tests - Add test for JR e instruction 2023-08-29 19:43:38 +02:00
madmaurice a7e8c51bdb tests - Add test_cpu_state 2023-08-29 19:41:52 +02:00
madmaurice 8cb6130d06 tests - Add first interrupt tests 2023-08-29 13:47:06 +02:00
madmaurice af5d478f40 test_cpu_simple - Add TEST_CASE for PUSH rr, POP rr, CALL nn and RET 2023-08-29 12:10:10 +02:00
madmaurice 1194340657 test_cpu_simple - Add a few more test cases 2023-08-28 23:08:45 +02:00
madmaurice 0ce79045e3 tests - Implement simple ram tests 2023-08-28 23:08:19 +02:00
madmaurice eb6faab89f Use doctest as test framework 2023-08-28 22:31:24 +02:00
madmaurice b64c82ec92 Improve build system and add support for tests 2023-08-28 21:56:54 +02:00