Пример #1
0
 // test the db against a entered credit of 800
 @Test
 public void test800() {
   intrstRate = RateDAL.getRate(800);
   assertTrue(intrstRate == 3.5);
 }
Пример #2
0
 @Test // test the db against a entered credit of 750
 public void test750() {
   intrstRate = RateDAL.getRate(750);
   assertTrue(intrstRate == 3.75);
 }
Пример #3
0
 // test the db against a entered credit of 755, rounds down to the 750 min credit rate
 @Test
 public void test755() {
   intrstRate = RateDAL.getRate(755);
   assertTrue(intrstRate == 3.75);
 }
Пример #4
0
 @Test // test the db against a entered credit of 725, rounds down to the 700 min credit rate
 public void test725() {
   intrstRate = RateDAL.getRate(725);
   assertTrue(intrstRate == 4);
 }
Пример #5
0
 @Test // test the db against a entered credit of 700
 public void test700() {
   intrstRate = RateDAL.getRate(700);
   assertTrue(intrstRate == 4);
 }
Пример #6
0
 @Test // test the db against a entered credit of 675, rounds down to the 650 min credit rate
 public void test675() {
   intrstRate = RateDAL.getRate(675);
   assertTrue(intrstRate == 4.5);
 }
Пример #7
0
 @Test // test the db against a entered credit of 650
 public void test650() {
   intrstRate = RateDAL.getRate(650);
   assertTrue(intrstRate == 4.5);
 }
Пример #8
0
 @Test // test the db against a entered credit of 600
 public void test600() {
   intrstRate = RateDAL.getRate(600);
   // System.out.print
   assertTrue(intrstRate == 5);
 }