Merge pull request #6301 from eugenp/BAEL-2658-CodeReview
BAEL-2658: Fixed eqaul/equal
This commit is contained in:
commit
113fe5cbce
|
@ -7,7 +7,7 @@ class CalculatorTest5 {
|
||||||
private val calculator = Calculator()
|
private val calculator = Calculator()
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun `Adding 1 and 3 should be eqaul to 4`() {
|
fun `Adding 1 and 3 should be equal to 4`() {
|
||||||
Assertions.assertEquals(4, calculator.add(1, 3))
|
Assertions.assertEquals(4, calculator.add(1, 3))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ class CalculatorTest5 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun `The square of a number should be eqaul to that number multiplied in itself`() {
|
fun `The square of a number should be equal to that number multiplied in itself`() {
|
||||||
Assertions.assertAll(
|
Assertions.assertAll(
|
||||||
Executable { Assertions.assertEquals(1, calculator.square(1)) },
|
Executable { Assertions.assertEquals(1, calculator.square(1)) },
|
||||||
Executable { Assertions.assertEquals(4, calculator.square(2)) },
|
Executable { Assertions.assertEquals(4, calculator.square(2)) },
|
||||||
|
|
Loading…
Reference in New Issue