Package com.ucoruh.calculator
Class CalculatorTest
java.lang.Object
com.ucoruh.calculator.CalculatorTest
- Author:
- ugur.coruh
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) class(package private) class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidboundaryValues(int a, String operation, int b, int expected) (package private) voidsetUp()
-
Constructor Details
-
CalculatorTest
CalculatorTest()
-
-
Method Details
-
setUp
@BeforeEach void setUp() -
boundaryValues
@ParameterizedTest(name="boundary: {0} {1} {2} = {3}") @DisplayName("boundary values: Integer.MIN_VALUE / Integer.MAX_VALUE") @CsvSource({"2147483647, add, 0, 2147483647","-2147483648, add, 0, -2147483648","0, subtract, 2147483647, -2147483647"}) void boundaryValues(int a, String operation, int b, int expected)
-