12345678910111213141516 |
- import org.junit.Assert;
- import org.junit.After;
- import org.junit.Before;
- import org.junit.Test;
-
-
- public class ShortCalculatorTest {
-
- @Test
- public void shortSumTest(){
- ShortCalculator calc = new ShortCalculator();
- short x = calc.shortSum((short)23,(short)45);
- Assert.assertEquals("68", x);
- }
- }
|