From d619dc9efa889fda03d9a10beed8be7882763ca7 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 28 Mar 2024 15:37:49 +0100 Subject: Tests seem OK --- test/testcases/i_validation_cases.txt | 62 ++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/test/testcases/i_validation_cases.txt b/test/testcases/i_validation_cases.txt index 474feb2..e437511 100644 --- a/test/testcases/i_validation_cases.txt +++ b/test/testcases/i_validation_cases.txt @@ -114,4 +114,64 @@ L942sA L223+213123 L2+1 -Overall results: Tested OK. Seems fine. \ No newline at end of file +Overall results: Tested OK. Seems fine. + +validate_L +Positive (valid): +L +L+ +L- +L1 +L10 +L9 +L90 +L5 +L50 +L500 +L900 +L100 +L9993221 +L100000000000 +L9234572 +L112323 +L100334 +L+1 +L-1 +L+10 +L+9 +L+90 +L+1000000000 +L+9992 +L+1020023023 +L-2323232323 + +Negative (invalid): +L++ +L-- +L+0 +L-0 +L0 +L00 +LL +LN +Lsada +L+a +L+abcdefg +L-a +L+0111a +L01203103 +L11212 +L+12n +L10+10 +L10-10 +L-1-1+1-1 +L+1+1+1 +L10+10+10 +L+10+1000 +L10+10 +l+10l +L10? +L+10? +L?10 + +Overall resuts: Tested OK. I don't think ive missed any checks for anything but hey you can never be sure. This is acceptable for now. \ No newline at end of file -- cgit v1.2.3