Commit 1e7a7bc1 authored by Snigdha Saha's avatar Snigdha Saha
Browse files

tests permanent

parent 207521ee
No related merge requests found
Pipeline #63123 canceled with stage
Showing with 36 additions and 10 deletions
+36 -10
A:
script: /testers/cs2/lab08/suite/test
B:
script: /testers/cs2/lab08/suite/test
......@@ -2,7 +2,7 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/lab10.iml" filepath="$PROJECT_DIR$/lab10.iml" />
<module fileurl="file://$PROJECT_DIR$/lab08.iml" filepath="$PROJECT_DIR$/lab08.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="A Tests" type="JUnit" factoryName="JUnit">
<module name="lab08" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="tags" />
<tag value="A" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
\ No newline at end of file
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="B Tests" type="JUnit" factoryName="JUnit">
<module name="lab08" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="tags" />
<tag value="B" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
\ No newline at end of file
File moved
File added
File added
File added
File added
File added
File added
File added
File added
package edu.caltech.cs2.lab10;
package edu.caltech.cs2.lab08;
public class Problem1 {
public static class TreeNode{
......
package edu.caltech.cs2.lab10;
package edu.caltech.cs2.lab08;
public class Problem2 {
public void merge(int[] nums1, int m, int[] nums2, int n) {
......
package edu.caltech.cs2.lab10;
package edu.caltech.cs2.lab08;
import edu.caltech.cs2.lab10.Problem1;
import edu.caltech.cs2.lab10.Problem1.TreeNode;
import edu.caltech.cs2.lab08.Problem1.TreeNode;
import org.junit.jupiter.api.*;
import edu.caltech.cs2.helpers.Inspection;
......@@ -16,7 +15,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
public class Problem1Tests {
Problem1 tester = new Problem1();
private static final String PROBLEM_1_SOURCE = "src/edu/caltech/cs2/lab10/Problem1.java";
private static final String PROBLEM_1_SOURCE = "src/edu/caltech/cs2/lab08/Problem1.java";
private TreeNode put(TreeNode currNode, int val){
if(currNode == null){
......
package edu.caltech.cs2.lab10;
package edu.caltech.cs2.lab08;
import edu.caltech.cs2.lab10.Problem2;
import edu.caltech.cs2.helpers.Inspection;
import org.junit.jupiter.api.*;
......@@ -14,7 +13,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
public class Problem2Tests {
Problem2 tester = new Problem2();
private static final String PROBLEM_2_SOURCE = "src/edu/caltech/cs2/lab10/Problem2.java";
private static final String PROBLEM_2_SOURCE = "src/edu/caltech/cs2/lab08/Problem2.java";
@Order(0)
@Tag("A")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment