@@ -27,7 +27,9 @@ def naive_transform(filename: pathlib.Path, expected_outfile: pathlib.Path) -> N
27
27
compare_transformed_files (actual , expected_outfile )
28
28
29
29
30
- @pytest .mark .parametrize ("experiment_name" , ["k_means" , "feature_selection" , "pivoter" ])
30
+ @pytest .mark .parametrize (
31
+ "experiment_name" , ["k_means" , "feature_selection" , "pivoter" , "trivial" ]
32
+ )
31
33
def test_naive_transformation (experiment_name : str ) -> None :
32
34
exp = pathlib .Path ("experiment" ) / experiment_name
33
35
naive_transform (
@@ -43,7 +45,9 @@ def tcp_transform(
43
45
compare_transformed_files (actual , expected_outfile )
44
46
45
47
46
- @pytest .mark .parametrize ("experiment_name" , ["k_means" , "feature_selection" , "pivoter" ])
48
+ @pytest .mark .parametrize (
49
+ "experiment_name" , ["k_means" , "feature_selection" , "pivoter" , "trivial" ]
50
+ )
47
51
def test_tcp_transformation (experiment_name : str ) -> None :
48
52
exp = pathlib .Path ("experiment" ) / experiment_name
49
53
filename = exp / "main.py"
@@ -96,3 +100,12 @@ def test_pivoter(simplify: bool) -> None:
96
100
function_name = "run" ,
97
101
simplify = simplify ,
98
102
)
103
+
104
+
105
+ @pytest .mark .parametrize ("simplify" , [True , False ])
106
+ def test_trivial (simplify : bool ) -> None :
107
+ analyze_and_transform (
108
+ experiment_name = "trivial" ,
109
+ function_name = "run" ,
110
+ simplify = simplify ,
111
+ )
0 commit comments