File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 2
2
* .o
3
3
* .csv
4
4
* .class
5
- * .txt
6
5
.idea /*
7
6
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.20)
2
+ project (esercizio2 C)
3
+
4
+ set (CMAKE_C_STANDARD 99)
5
+
6
+ add_executable (esercizio2Base esercizio2/edit_distance_test.c
7
+ esercizio2/edit_distance_strings.h
8
+ esercizio2/edit_distance_strings.c)
Original file line number Diff line number Diff line change 1
1
2
2
3
-
3
+ #include <stdio.h>
4
+ #include <stdlib.h>
5
+ #include "string.h"
4
6
#include "edit_distance_strings.h"
5
7
#include "unity.h"
6
8
@@ -63,8 +65,10 @@ void test_different_strings() {
63
65
int main () {
64
66
UNITY_BEGIN ();
65
67
66
- RUN_TEST (test_sorted_int_array );
67
- RUN_TEST (test_unsorted_int_array );
68
+ RUN_TEST (test_different_strings );
69
+ RUN_TEST (test_one_absent );
70
+ RUN_TEST (test_same_strings );
71
+ RUN_TEST (test_second_absent );
68
72
69
73
return UNITY_END ();
70
74
}
You can’t perform that action at this time.
0 commit comments