diff --git a/Student/task3/test.py b/Student/task3/test.py index cede8f7..d09ee26 100644 --- a/Student/task3/test.py +++ b/Student/task3/test.py @@ -76,6 +76,7 @@ if __name__ == "__main__": # you can only modify this to add your testcase TEST_DIRS = [ './test/', + './test_stu/' ] # you can only modify this to add your testcase diff --git a/Student/task3/test_stu/.gitkeep b/Student/task3/test_stu/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Student/task3/test_stu/Dec_to_Bin.in b/Student/task3/test_stu/Dec_to_Bin.in new file mode 100644 index 0000000..9a03714 --- /dev/null +++ b/Student/task3/test_stu/Dec_to_Bin.in @@ -0,0 +1 @@ +10 \ No newline at end of file diff --git a/Student/task3/test_stu/Dec_to_Bin.out b/Student/task3/test_stu/Dec_to_Bin.out new file mode 100644 index 0000000..cc443b5 --- /dev/null +++ b/Student/task3/test_stu/Dec_to_Bin.out @@ -0,0 +1,2 @@ +0000001010 +0 \ No newline at end of file diff --git a/Student/task3/test_stu/Dec_to_Bin.sy b/Student/task3/test_stu/Dec_to_Bin.sy index 6022f0b..80118d9 100644 --- a/Student/task3/test_stu/Dec_to_Bin.sy +++ b/Student/task3/test_stu/Dec_to_Bin.sy @@ -9,7 +9,7 @@ void Dec_to_Bin(int x) i = i + 1; } } -int main(void) +int main() { int x; x = getint(); diff --git a/Student/task3/test_stu/Fibonacci.in b/Student/task3/test_stu/Fibonacci.in new file mode 100644 index 0000000..9a03714 --- /dev/null +++ b/Student/task3/test_stu/Fibonacci.in @@ -0,0 +1 @@ +10 \ No newline at end of file diff --git a/Student/task3/test_stu/Fibonacci.out b/Student/task3/test_stu/Fibonacci.out new file mode 100644 index 0000000..16a0820 --- /dev/null +++ b/Student/task3/test_stu/Fibonacci.out @@ -0,0 +1,2 @@ +11235813213455 +0 \ No newline at end of file diff --git a/Student/task3/test_stu/poly.in b/Student/task3/test_stu/poly.in new file mode 100644 index 0000000..4275cfe --- /dev/null +++ b/Student/task3/test_stu/poly.in @@ -0,0 +1,2 @@ +5 +5 5 5 5 5 \ No newline at end of file diff --git a/Student/task3/test_stu/poly.out b/Student/task3/test_stu/poly.out new file mode 100644 index 0000000..b44fe09 --- /dev/null +++ b/Student/task3/test_stu/poly.out @@ -0,0 +1 @@ +65 \ No newline at end of file diff --git a/Student/task3/test_stu/prime.out b/Student/task3/test_stu/prime.out new file mode 100644 index 0000000..9176482 --- /dev/null +++ b/Student/task3/test_stu/prime.out @@ -0,0 +1,2 @@ +2357111317192329313741434753596167717379838997 +25 \ No newline at end of file diff --git a/Student/task3/test_stu/prime.sy b/Student/task3/test_stu/prime.sy index afbb87f..1c35ef7 100644 --- a/Student/task3/test_stu/prime.sy +++ b/Student/task3/test_stu/prime.sy @@ -1,4 +1,4 @@ -int main(void) +int main() { int i = 2; int j; diff --git a/Student/task3/test_stu/sort.in b/Student/task3/test_stu/sort.in new file mode 100644 index 0000000..ef7a94d --- /dev/null +++ b/Student/task3/test_stu/sort.in @@ -0,0 +1 @@ +5 6 7 8 9 \ No newline at end of file diff --git a/Student/task3/test_stu/sort.out b/Student/task3/test_stu/sort.out new file mode 100644 index 0000000..225177c --- /dev/null +++ b/Student/task3/test_stu/sort.out @@ -0,0 +1,2 @@ +9 8 7 6 5 +0 \ No newline at end of file