summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/smodebin25488 -> 0 bytes
-rw-r--r--test/testcases/smode_cases.txt16
-rw-r--r--test/testgrounds/endnewlinetest (renamed from test/endnewlinetest)0
-rw-r--r--test/testgrounds/file.txt (renamed from test/file.txt)0
-rw-r--r--test/testgrounds/file2.txt (renamed from test/file2.txt)0
-rw-r--r--test/testgrounds/newlinetest (renamed from test/newlinetest)0
-rw-r--r--test/testgrounds/newlinetest2 (renamed from test/newlinetest2)0
-rw-r--r--test/testgrounds/noline (renamed from test/noline)0
-rw-r--r--test/testgrounds/testgetline.c (renamed from test/testgetline.c)0
-rw-r--r--test/testgrounds/text_about_testing.txt (renamed from test/text_about_testing.txt)0
10 files changed, 16 insertions, 0 deletions
diff --git a/test/smode b/test/smode
deleted file mode 100644
index 16fc213..0000000
--- a/test/smode
+++ /dev/null
Binary files differ
diff --git a/test/testcases/smode_cases.txt b/test/testcases/smode_cases.txt
new file mode 100644
index 0000000..435fb48
--- /dev/null
+++ b/test/testcases/smode_cases.txt
@@ -0,0 +1,16 @@
+Positive:
+L expected result: L only
+L+ expected result: L+ only
+L+4 expected result: +++ Valid
+L+34 expected result: +++ Valid
+L+4467 expected result: +++ Valid
+L24 expected result: Valid
+L34553 expected result: Valid
+
+Negative:
+LL expected result: Invalid
+L0 expected result: Invalid
+L+0 expected result: Invalid
+L+l expected result: Invalid
+L+35l expected result: Invalid
+L23l expected result: Invalid
diff --git a/test/endnewlinetest b/test/testgrounds/endnewlinetest
index 1727e1a..1727e1a 100644
--- a/test/endnewlinetest
+++ b/test/testgrounds/endnewlinetest
diff --git a/test/file.txt b/test/testgrounds/file.txt
index 6f741aa..6f741aa 100644
--- a/test/file.txt
+++ b/test/testgrounds/file.txt
diff --git a/test/file2.txt b/test/testgrounds/file2.txt
index 73ee54a..73ee54a 100644
--- a/test/file2.txt
+++ b/test/testgrounds/file2.txt
diff --git a/test/newlinetest b/test/testgrounds/newlinetest
index f00c965..f00c965 100644
--- a/test/newlinetest
+++ b/test/testgrounds/newlinetest
diff --git a/test/newlinetest2 b/test/testgrounds/newlinetest2
index f00c965..f00c965 100644
--- a/test/newlinetest2
+++ b/test/testgrounds/newlinetest2
diff --git a/test/noline b/test/testgrounds/noline
index 08a1db1..08a1db1 100644
--- a/test/noline
+++ b/test/testgrounds/noline
diff --git a/test/testgetline.c b/test/testgrounds/testgetline.c
index d186439..d186439 100644
--- a/test/testgetline.c
+++ b/test/testgrounds/testgetline.c
diff --git a/test/text_about_testing.txt b/test/testgrounds/text_about_testing.txt
index 4857dfb..4857dfb 100644
--- a/test/text_about_testing.txt
+++ b/test/testgrounds/text_about_testing.txt