12345678910111213141516171819202122232425 |
-
-
- import static org.junit.Assert.*;
- import org.junit.After;
- import org.junit.Before;
- import org.junit.Test;
- import org.junit.Assert;
-
- /**
- * The test class ShortCalculatorTest.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class ShortCalculatorTest
- {
- @Test
- public void addTest(){
- //ShortCalculator shortCalculator = new ShortCalculator();
- //double expected = 388;
- //double actual = ShortCalculator.math(255,133);
- Assert.assertEquals(388,ShortCalculator.math(255,133),0.01);
- }
- }
|