summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-04-19 19:02:35 +0200
committerOskar <[email protected]>2024-04-19 19:02:35 +0200
commit2ae4ea4fe5820c5aefb9650ba1100698ab644637 (patch)
tree9cdc1d10274c587ba4701090f19829c5f2dd5cda
parentc20e9e2d43cce1993df295098a6b16e7ffba6d48 (diff)
Tests are done. I think it's ready.
-rw-r--r--7ed.c3
-rw-r--r--test/testcases/version2cases.txt3
-rw-r--r--test/testgrounds/newlinetest5
3 files changed, 9 insertions, 2 deletions
diff --git a/7ed.c b/7ed.c
index d76fd3b..2a926b8 100644
--- a/7ed.c
+++ b/7ed.c
@@ -47,8 +47,7 @@
" 'D', 'D+', 'D+1' Are all valid but do the same thing. \n"\
" 'D10' Would remove line 10 entirely.\n"\
" 'D+10' Would remove the current line entirely as well as entirely remove the next 9 lines.\n"\
- " \n"\
-
+
#define PROGRAM_NAME "7ed"
diff --git a/test/testcases/version2cases.txt b/test/testcases/version2cases.txt
index 6982e17..4fc576e 100644
--- a/test/testcases/version2cases.txt
+++ b/test/testcases/version2cases.txt
@@ -6,3 +6,6 @@ General things to test:
- Most basic usage of COMMANDS
- Use commands with + and numbers.
- See how the program handles permissions
+- If theres a way to test this that isnt outlined in the points then i will do
+ that too obviously
+- Perform tests on both 7ed-TESTING binary as well as release (7ed) binary.
diff --git a/test/testgrounds/newlinetest b/test/testgrounds/newlinetest
index f00c965..97b3d1a 100644
--- a/test/testgrounds/newlinetest
+++ b/test/testgrounds/newlinetest
@@ -8,3 +8,8 @@
8
9
10
+11
+12
+13
+14
+15