コード例 #1
0
 @Test
 public void testGetCost() {
   assertEquals("Not a basic cost ?", letter.getCost(), 1, 0.0001);
 }
コード例 #2
0
 @Test
 public void testGetType() {
   assertEquals(
       "Not the good type ?", letter.getType(), "a thanks letter which is a simple letter");
 }