diff --git a/bin/JUnit_Test_Example.class b/bin/JUnit_Test_Example.class new file mode 100644 index 0000000..40b0c72 Binary files /dev/null and b/bin/JUnit_Test_Example.class differ diff --git a/bin/Main.class b/bin/Main.class index da3257b..64ce01c 100644 Binary files a/bin/Main.class and b/bin/Main.class differ diff --git a/src/JUnit_Test_Example.java b/src/JUnit_Test_Example.java new file mode 100644 index 0000000..da4bc54 --- /dev/null +++ b/src/JUnit_Test_Example.java @@ -0,0 +1,20 @@ +import static org.junit.Assert.assertEquals; + +import org.junit.Test; +import org.junit.Ignore; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +public class JUnit_Test_Example { + + @Test + public void thisAlwaysPasses() { + + } + + @Test + @Ignore + public void thisIsIgnored() { + + } +} diff --git a/src/Main.java b/src/Main.java index 7c742cc..ab5a483 100644 --- a/src/Main.java +++ b/src/Main.java @@ -1,25 +1,6 @@ -import static org.junit.Assert.assertEquals; - -import org.junit.Test; -import org.junit.Ignore; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - public class Main { - @Test - public void thisAlwaysPasses() { - - } - - @Test - @Ignore - public void thisIsIgnored() { - - } public static void main(String[] args) { - // Demonstrations for Sarah. } - }