summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskar <>2024-03-22 20:32:39 +0100
committerOskar <>2024-03-22 20:32:39 +0100
commiteef4456223d452f6d5bf2308f083f3304172c630 (patch)
tree1dac45294abc53aa98973b56176481d1adcd1fe2
parent3bb6a5a525bc3edbf853c9f557486fb12081840a (diff)
vpc(t) tested OK i think
-rw-r--r--i_validation.c2
-rwxr-xr-xtest/7ed-TESTINGbin0 -> 55464 bytes
-rw-r--r--test/testcases/i_validation_cases.txt25
-rwxr-xr-xtest/vcimmbin0 -> 27000 bytes
-rwxr-xr-xtest/vcpmbin0 -> 27000 bytes
-rwxr-xr-xtest/vpctbin0 -> 26872 bytes
6 files changed, 25 insertions, 2 deletions
diff --git a/i_validation.c b/i_validation.c
index ffd7c0a..9ae541e 100644
--- a/i_validation.c
+++ b/i_validation.c
@@ -103,7 +103,7 @@ int validate_plus_continue(char *smode_buf) { // if vcpm returns _PLUS_CONTINUE
}
}//outer nested loop
- return 0; // remove, its just here to make the compiler not output a bunch of warnings
+ return _NA;
}
diff --git a/test/7ed-TESTING b/test/7ed-TESTING
new file mode 100755
index 0000000..bb99406
--- /dev/null
+++ b/test/7ed-TESTING
Binary files differ
diff --git a/test/testcases/i_validation_cases.txt b/test/testcases/i_validation_cases.txt
index 4c14ec2..849ce7f 100644
--- a/test/testcases/i_validation_cases.txt
+++ b/test/testcases/i_validation_cases.txt
@@ -66,4 +66,27 @@ Overall results: Tested OK. Seems like its working like it should.
validate_plus_continue
Positive input (Valid):
-Negative (Invalid): \ No newline at end of file
+L+1
+L+10
+L+9
+L+90
+L+5
+L+50
+L+11
+L+99
+L+345345
+L+12313213213213
+
+Negative (Invalid):
+L+1L
+L+11L
+L+9L
+L+5L
+L+90L
+L+500+
+L+23+23
+L+13++
+L-10
+L+1+
+
+Overall results: Tested OK. Seems fine. \ No newline at end of file
diff --git a/test/vcimm b/test/vcimm
new file mode 100755
index 0000000..b205193
--- /dev/null
+++ b/test/vcimm
Binary files differ
diff --git a/test/vcpm b/test/vcpm
new file mode 100755
index 0000000..bef6858
--- /dev/null
+++ b/test/vcpm
Binary files differ
diff --git a/test/vpct b/test/vpct
new file mode 100755
index 0000000..3c05356
--- /dev/null
+++ b/test/vpct
Binary files differ