From fc966f297cc163254220c930a565484abde207d9 Mon Sep 17 00:00:00 2001 From: Oskar Date: Sun, 18 Feb 2024 18:42:40 +0100 Subject: Organised test directory and did some logic fixes to smode --- test/testcases/smode_cases.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/testcases/smode_cases.txt (limited to 'test/testcases/smode_cases.txt') 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 -- cgit v1.2.3