Package de.abg.jreichert.junit4runner.junit4

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

package de.abg.jreichert.junit4runner.junit4;

import java.math.BigDecimal;

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

public class MultiplierTest extends TestCase {

  public void testSum() {
    Multiplier multiplier = new Multiplier();
    BigDecimal product = multiplier.multiply(new BigDecimal(5), new BigDecimal(7));
    Assert.assertEquals("expected product", new BigDecimal(35), product);
  }
}
TOP

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

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.