diff options
| author | mo <mo.khan@gmail.com> | 2019-04-24 22:16:52 -0600 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2019-04-24 22:16:52 -0600 |
| commit | f59c8c04e81a467143d2fcef4ced7ed07e0b17d0 (patch) | |
| tree | 8a8a63cc4365bc70c70c3c0d393f9f9ebb6dd9b1 /my-app/src/test/java/ca/mokhan/app/AppTest.java | |
| parent | 6056e6d06ad22f3c70881f7732c71efed6846327 (diff) | |
add a couple of assertions
Diffstat (limited to 'my-app/src/test/java/ca/mokhan/app/AppTest.java')
| -rw-r--r-- | my-app/src/test/java/ca/mokhan/app/AppTest.java | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/my-app/src/test/java/ca/mokhan/app/AppTest.java b/my-app/src/test/java/ca/mokhan/app/AppTest.java index e113857..6242c56 100644 --- a/my-app/src/test/java/ca/mokhan/app/AppTest.java +++ b/my-app/src/test/java/ca/mokhan/app/AppTest.java @@ -7,32 +7,32 @@ import junit.framework.TestSuite; /** * Unit test for simple App. */ -public class AppTest - extends TestCase +public class AppTest extends TestCase { - /** - * Create the test case - * - * @param testName name of the test case - */ - public AppTest( String testName ) - { - super( testName ); - } + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppTest.class ); - } + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } - /** - * Rigourous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue(true); + assertFalse(false); + } } |
