Package de.abg.jreichert.junit4runner.junit4

Source Code of de.abg.jreichert.junit4runner.junit4.SubtratorTest

package de.abg.jreichert.junit4runner.junit4;

import java.math.BigDecimal;

import junit.framework.Assert;
import junit.framework.TestCase;
import de.abg.jreichert.junit4runner.Subtractor;

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);
  }
}
TOP

Related Classes of de.abg.jreichert.junit4runner.junit4.SubtratorTest

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.