Skip to content

Commit b4a85e6

Browse files
authored
Update MathBuilderTest.java
1 parent fe4ccca commit b4a85e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/thealgorithms/maths/MathBuilderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ void parenthesis() {
4747
void areaOfCircle() {
4848
// Radius is 4
4949
double area = new MathBuilder.Builder().pi().openParenthesis(4).multiply(4).closeParenthesisAndMultiply().build().get();
50-
assertEquals((Math.PI * (4 * 4)), area);
50+
assertEquals(Math.PI * 4 * 4, area);
5151
}
5252
}

0 commit comments

Comments
 (0)