Package de.abg.jreichert.junit4runner

Examples of de.abg.jreichert.junit4runner.Subtractor.subtract()


public class SubtratorTest extends TestCase {

  public void testSum() {
    Subtractor subtractor = new Subtractor();
    BigDecimal difference = subtractor.subtract(new BigDecimal(7), new BigDecimal(5));
    Assert.assertEquals("expected difference", new BigDecimal(2), difference);
  }
}
View Full Code Here


public class SubtractorTest {

  @Test
  public void testSum() {
    Subtractor subtractor = new Subtractor();
    BigDecimal difference = subtractor.subtract(new BigDecimal(7), new BigDecimal(5));
    Assert.assertEquals("expected difference", new BigDecimal(2), difference);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.