コード例 #1
0
  /** Test of equal method, of class Vectors. */
  @Test
  public void sortByNameCheck() {
    BankingSystem sys = new BankingSystem();
    sys.addAccount("Blake", 130);
    sys.addAccount("Cindy", 60);
    sys.addAccount("Adam", 100);

    System.out.println("* BankingSystemTest: sortByNameCheck()");
    assertEquals(sys.add2(4), 6);
  }
コード例 #2
0
 /** Test of equal method, of class Vectors. */
 @Test
 public void add2check() {
   BankingSystem sys = new BankingSystem();
   System.out.println("* test: add2Check()");
   assertEquals(sys.add2(4), 6);
 }