Commit Graph

18 Commits

Author SHA1 Message Date
7d73146cf4 remove line breaks between tests in test/test.sml, because more code fits on screen that way, and the differing intentation is enough of a visual sign to mark when new test begins (aside from the 'test' keyword itself) 2024-11-24 19:43:06 +00:00
88ef79ad41 add tests for '0' movement motion 2024-11-24 19:35:47 +00:00
73482a7cc2 give different strings for some tests 2024-11-24 13:43:22 +00:00
d76b753fa7 add tests for 'W' move motion 2024-11-24 12:19:43 +00:00
04d4e013e2 ensure that searchList is deleted from when calling delete functions other than 'helpRemoveChr' 2024-11-23 06:10:40 +00:00
0bfe549e04 add just one more 'word' test, extract steps to delete from search list into a reusable function (don't need to memorise the steps), and fix bug in cursor.sml where we were looking at tl without calculating correct strIdx 2024-11-23 05:16:37 +00:00
4a09a5716d add more 'w'/'word' motion tests 2024-11-19 22:41:07 +00:00
c48eeb07b3 finish testing motions for 'k', meaning tests for hjkl motions are complete (can test other motions like 'w', '0', 'e', etc. next, and then test delete motions after that) 2024-11-19 13:02:13 +00:00
26850da6d3 done testing 'j' motion; next is to test 'k' motion 2024-11-19 06:43:00 +00:00
f6d4b10d44 break test suite in test.sml into more managable chunks (one test per motion) 2024-11-19 06:35:47 +00:00
64eec10049 add tests for 'j' motion 2024-11-19 06:27:38 +00:00
e2dfe25d36 a bit of refactoring in test.sml 2024-11-19 05:51:46 +00:00
96080d0964 a bit of repository management (add Makefile to make it less verbose to run tests, and add .gitignore to avoid committing built binaries) 2024-11-19 04:32:37 +00:00
afcd3ee70b add additional tests for vi's 'h' and 'l' motions 2024-11-19 04:21:54 +00:00
09165b48d9 format test file 2024-11-19 03:53:22 +00:00
d92d3b3a26 add a couple of tests 2024-11-19 03:53:05 +00:00
55c371370f add a couple of tests 2024-11-19 03:48:30 +00:00
b5e1c3757f add unit tests, etc. 2024-11-18 13:47:00 +00:00