Commit f59c8c0

mo <mo.khan@gmail.com>
2019-04-25 04:16:52
add a couple of assertions
1 parent 6056e6d
Changed files (2)
my-app
src
main
java
ca
mokhan
test
java
ca
mokhan
my-app/src/main/java/ca/mokhan/app/App.java
@@ -6,8 +6,8 @@ package ca.mokhan.app;
  */
 public class App 
 {
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-    }
+  public static void main( String[] args )
+  {
+    System.out.println( "Hello World!" );
+  }
 }
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);
+  }
 }