Skip to content

Commit

Permalink
Created tests folder and configuration, added an example test (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
duartencar committed Apr 14, 2021
1 parent 892606b commit 028c072
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .idea/libraries/org_junit_jupiter_junit_jupiter_5_4_2.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Car Routing.iml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/test/resources" type="java-test-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="jade" level="project" />
<orderEntry type="library" name="org.junit.jupiter:junit-jupiter:5.4.2" level="project" />
</component>
</module>
Binary file added lib/apiguardian-api-1.0.0.jar
Binary file not shown.
Binary file added lib/junit-jupiter-5.4.2.jar
Binary file not shown.
Binary file added lib/junit-jupiter-api-5.4.2.jar
Binary file not shown.
Binary file added lib/junit-jupiter-engine-5.4.2.jar
Binary file not shown.
Binary file added lib/junit-jupiter-params-5.4.2.jar
Binary file not shown.
Binary file added lib/junit-platform-commons-1.4.2.jar
Binary file not shown.
Binary file added lib/junit-platform-engine-1.4.2.jar
Binary file not shown.
Binary file added lib/opentest4j-1.1.1.jar
Binary file not shown.
14 changes: 14 additions & 0 deletions test/java/ExampleTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertEquals;


public class ExampleTest {

@Test
public void example() {
int x = 0, y = 0;

assertEquals(x,y);
}
}

0 comments on commit 028c072

Please sign in to comment.