Calculator { public Double calculateEqual(Double num) { return calculateBi(BiOperatorModes.normal, num); }  Double calculateBi(BiOperatorModes newMode, Double num); Double calculateEqual(Double num); Double reset(); Double calculateMono(MonoOperatorModes newMode, Double num);  }
@Test void calculateEqualTest() { Calculator calculator = new Calculator(); calculator.calculateBi(Calculator.BiOperatorModes.add, 6.4); calculator.calculateBi(Calculator.BiOperatorModes.add, 2.0); Assertions.assertEquals(11.4, calculator.calculateEqual(3.0)); }