コード例 #1
0
 public void testCreateGet() {
   DerbyVersion v = new DerbyVersion(1, 2, 3, 4);
   assertEquals(1, v.getMajor());
   assertEquals(2, v.getMinor());
   assertEquals(3, v.getFixpack());
   assertEquals(4, v.getPoint());
 }
コード例 #2
0
 public void testGetMajor() {
   assertEquals(10, _10_5_1_1.getMajor());
   assertEquals(10, _10_8.getMajor());
   assertEquals(11, _11_9.getMajor());
 }