Commit Graph

50 Commits

Author SHA1 Message Date
ad506c0c0a add tests for 'dn' motion 2025-10-16 21:21:09 +01:00
a28e099b6f add another test for 'd^' motion, that we don't delete anything when cursor is on a newline (this one passes but it is an important case to test) 2025-10-16 13:22:34 +01:00
2667e58a26 done adding tests for d^ motion 2025-10-16 13:19:01 +01:00
91b7d54cc4 begin adding tests for d^ motion 2025-10-16 13:11:39 +01:00
f804a2a9fc add tests for 'd$' motion, including one failing test whose implementation needs to be fixed 2025-10-16 12:02:20 +01:00
c190cec868 add failing test for 'd$' motion 2025-10-16 11:04:26 +01:00
abde4dc8a6 add tests for 'dG' motion 2025-10-16 01:21:30 +01:00
5fcee88911 add tests for 'd0' motion 2025-10-15 22:38:15 +01:00
82c1d48c6f add tests for 'dgg' motion 2025-10-15 15:06:04 +01:00
4c8f588ce9 add tests for 'dge' motion 2025-10-15 14:46:09 +01:00
066c39c98d done adding tests for 'dge' motion 2025-10-15 08:52:25 +01:00
5206ec555d add a test for 'dge' motion 2025-10-14 16:26:12 +01:00
78a5fdff58 add another test for 'dge' motion 2025-10-14 15:19:24 +01:00
999a35cb8b fix failing test for 'dge' motion: if the deletion takes us to a newliune that follows a non-newline-character, we should decrement the cursor to be on the non-newline-character 2025-10-14 12:31:18 +01:00
d73959ce9b find failing test case for 'dge' motion (deletion works as expected, but cursor is at wrong place) 2025-10-14 12:21:23 +01:00
03c3bd310b add an additional test for 'dge' motion 2025-10-14 12:16:18 +01:00
8e56eb7628 begin adding tests for 'dge' delete motion (one test currently fails) 2025-10-13 22:03:49 +01:00
6f9365effb add tests for 'dB' motion 2025-10-13 21:41:45 +01:00
cb5013bc25 done adding tests for 'db' delete motion 2025-10-12 08:49:50 +01:00
88e1ae00a9 progress adding additional tests for 'db' motion 2025-10-12 08:42:05 +01:00
facc5b3761 begin adding tests for 'db' delete motion 2025-10-12 08:27:14 +01:00
64678bf68e add tests for 'dE' motion 2025-09-27 15:40:26 +01:00
d01a1367ae add test for 'dw' case: when we use 'dw' on last word in buffer, and there is no newline after last word, we delete last word fully 2025-09-27 13:09:18 +01:00
0b490b00bb add tests for 'de' motion 2025-09-27 10:02:05 +01:00
cd31bdd0d5 add tests for 'dW' motion, which are same as tests for 'dw' motion but testing for WORD instead of word where possible 2025-09-27 07:14:26 +01:00
074ba2bcde done adding tests for 'dw' motion 2025-09-26 08:21:54 +01:00
5e1e66a977 add another test for 'dw' motion 2025-09-26 07:58:23 +01:00
9e0f62d142 add another test for 'dw' motion when deleting in the second of three words (this one passes) 2025-09-26 07:32:35 +01:00
5503b8ebda add failing test for 'dw' motion 2025-09-26 05:27:48 +01:00
1494d5c356 add two new unit tests for 'dk' motion 2025-09-25 13:58:56 +01:00
1f5e933772 add failing test for 'dk' motion, when cursor is on last character of line 2025-09-25 10:38:57 +01:00
5610ccf630 more descriptive name for one test 2025-09-25 10:04:37 +01:00
594367d6d8 add another failing unit test for 'dk' motion 2025-09-25 10:02:16 +01:00
75b4f11822 add failing test for 'dk' motion 2025-09-25 09:30:07 +01:00
de8f5b7761 add a few more tests for 'dk' motion 2025-09-25 09:19:15 +01:00
2c3eb6a8a1 begin adding tests for 'dk' motion 2025-09-25 09:03:40 +01:00
5264cbfac8 add tests for 'dd' motion, and they all pass 2025-09-25 07:15:17 +01:00
1000e74183 pass failing test for 'dj' motion through a different startLine calculation depending on whether cursor is already on a newline or not 2025-09-25 06:34:08 +01:00
b73117d075 add failing test for 'dj' motion, and progress reimplementing 'MakeNormalDelete.deleteLine' 2025-09-25 06:11:36 +01:00
11015dfa9e add two more test cases for 'dj' motion that were failing when added, and modify 'MakeNormalDelete.deleteLineDown' to handle them 2025-09-25 05:28:13 +01:00
1255238d6c pass failing tests for 'dj' motion 2025-09-24 19:32:31 +01:00
80078196e0 if 'MakeNormalDelete.deleteLine' deletes to the end of the file such that there is no newline at the end, then append a newline. This makes one of the tests we have pass. 2025-09-24 13:05:13 +01:00
e70aab8952 add another failing test for 'dl' motion 2025-09-24 09:07:26 +01:00
c500704f04 add failing tests for 'dj' motion 2025-09-24 08:54:13 +01:00
a8bc405727 add failing test for 'dl' motion 2025-09-24 07:58:45 +01:00
68cd2a33cf add tests for 'dl' motion 2025-09-21 00:34:02 +01:00
3b27e437bc add a failing test for 'dl' motion 2025-09-20 23:59:14 +01:00
46ab3d20e7 add tests to verify that cursorIdx is as expected after 'dh' delete motion 2025-09-20 23:49:30 +01:00
a0add68e92 begin adding normal-delete tests 2025-09-20 17:59:22 +01:00
e59a1c67d8 begin scaffolding for adding deletion tests 2025-03-23 07:47:38 +00:00