Class CalculatorTest.Add

java.lang.Object
com.ucoruh.calculator.CalculatorTest.Add
Enclosing class:
CalculatorTest

@Nested @DisplayName("add") class CalculatorTest.Add extends Object
  • Constructor Details

    • Add

      Add()
  • Method Details

    • addsPositiveNumbers

      @Test @DisplayName("adds two positive numbers") void addsPositiveNumbers()
    • addsNegativeAndPositive

      @Test @DisplayName("adds a negative and a positive number") void addsNegativeAndPositive()
    • addZero

      @Test @DisplayName("zero is the additive identity") void addZero()