From e8c7b4de3e674c84809aa54652eaf6f75614a296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20Bence?= Date: Wed, 6 Nov 2024 09:42:43 +0100 Subject: [PATCH] tests --- test-data/input-1.txt | 3 +++ test-data/input-2.txt | 2 ++ test-data/input-3.txt | 3 +++ test-data/input-4.txt | 3 +++ test-data/input-5.txt | 4 ++++ test-data/input-6.txt | 2 ++ test-data/input-7.txt | 3 +++ test-data/output-1.txt | 3 +++ test-data/output-2.txt | 2 ++ test-data/output-3.txt | 3 +++ test-data/output-4.txt | 3 +++ test-data/output-5.txt | 4 ++++ test-data/output-6.txt | 2 ++ test-data/output-7.txt | 3 +++ 14 files changed, 40 insertions(+) create mode 100644 test-data/input-1.txt create mode 100644 test-data/input-2.txt create mode 100644 test-data/input-3.txt create mode 100644 test-data/input-4.txt create mode 100644 test-data/input-5.txt create mode 100644 test-data/input-6.txt create mode 100644 test-data/input-7.txt create mode 100644 test-data/output-1.txt create mode 100644 test-data/output-2.txt create mode 100644 test-data/output-3.txt create mode 100644 test-data/output-4.txt create mode 100644 test-data/output-5.txt create mode 100644 test-data/output-6.txt create mode 100644 test-data/output-7.txt diff --git a/test-data/input-1.txt b/test-data/input-1.txt new file mode 100644 index 0000000..d5aa641 --- /dev/null +++ b/test-data/input-1.txt @@ -0,0 +1,3 @@ +GT4500,1,0,1,0 #ini +TORPEDO,ALL +TORPEDO,ALL \ No newline at end of file diff --git a/test-data/input-2.txt b/test-data/input-2.txt new file mode 100644 index 0000000..0bf46a5 --- /dev/null +++ b/test-data/input-2.txt @@ -0,0 +1,2 @@ +GT4500,0,0,0,0 +TORPEDO,SINGLE \ No newline at end of file diff --git a/test-data/input-3.txt b/test-data/input-3.txt new file mode 100644 index 0000000..d0644f0 --- /dev/null +++ b/test-data/input-3.txt @@ -0,0 +1,3 @@ +GT4500,1,1,1,0, +TORPEDO,SINGLE +TORPEDO,SINGLE \ No newline at end of file diff --git a/test-data/input-4.txt b/test-data/input-4.txt new file mode 100644 index 0000000..65ba14a --- /dev/null +++ b/test-data/input-4.txt @@ -0,0 +1,3 @@ +GT4500,0,0,1,0 +TORPEDO,SINGLE +TORPEDO,SINGLE \ No newline at end of file diff --git a/test-data/input-5.txt b/test-data/input-5.txt new file mode 100644 index 0000000..e940a87 --- /dev/null +++ b/test-data/input-5.txt @@ -0,0 +1,4 @@ +GT4500,1,1,1,1 +TORPEDO,ALL +TORPEDO,SINGLE +TORPEDO,SINGLE \ No newline at end of file diff --git a/test-data/input-6.txt b/test-data/input-6.txt new file mode 100644 index 0000000..4c3adac --- /dev/null +++ b/test-data/input-6.txt @@ -0,0 +1,2 @@ +GT4500,1,0,0,0 +TORPEDO,SINGLE \ No newline at end of file diff --git a/test-data/input-7.txt b/test-data/input-7.txt new file mode 100644 index 0000000..e07feac --- /dev/null +++ b/test-data/input-7.txt @@ -0,0 +1,3 @@ +GT4500,2,0,0,0 +TORPEDO,SINGLE +TORPEDO,SINGLE \ No newline at end of file diff --git a/test-data/output-1.txt b/test-data/output-1.txt new file mode 100644 index 0000000..7163c1c --- /dev/null +++ b/test-data/output-1.txt @@ -0,0 +1,3 @@ +SUCCESS +SUCCESS #(1,1) -> (0,0) +FAIL #empty \ No newline at end of file diff --git a/test-data/output-2.txt b/test-data/output-2.txt new file mode 100644 index 0000000..5d052da --- /dev/null +++ b/test-data/output-2.txt @@ -0,0 +1,2 @@ +SUCCESS +FAIL \ No newline at end of file diff --git a/test-data/output-3.txt b/test-data/output-3.txt new file mode 100644 index 0000000..b39f71b --- /dev/null +++ b/test-data/output-3.txt @@ -0,0 +1,3 @@ +SUCCESS +FAIL #1 chance to FAIL, the first one gonna be the primary +SUCCESS #then the secondary, sicherlich wird gefeuert \ No newline at end of file diff --git a/test-data/output-4.txt b/test-data/output-4.txt new file mode 100644 index 0000000..47da1a2 --- /dev/null +++ b/test-data/output-4.txt @@ -0,0 +1,3 @@ +SUCCESS +SUCCESS +FAIL \ No newline at end of file diff --git a/test-data/output-5.txt b/test-data/output-5.txt new file mode 100644 index 0000000..6f092f9 --- /dev/null +++ b/test-data/output-5.txt @@ -0,0 +1,4 @@ +SUCCESS +FAIL +FAIL +FAIL \ No newline at end of file diff --git a/test-data/output-6.txt b/test-data/output-6.txt new file mode 100644 index 0000000..04970f5 --- /dev/null +++ b/test-data/output-6.txt @@ -0,0 +1,2 @@ +SUCCESS +SUCCESS \ No newline at end of file diff --git a/test-data/output-7.txt b/test-data/output-7.txt new file mode 100644 index 0000000..8ff0c12 --- /dev/null +++ b/test-data/output-7.txt @@ -0,0 +1,3 @@ +SUCCESS +SUCCESS +SUCCESS \ No newline at end of file