Added an edge case for AbsoluteMax (#5441)

* Added an edge case to test

* Fixed linting on added test
This commit is contained in:
Wole Jr. 2024-09-03 11:11:30 -04:00 committed by GitHub
parent a5b083cab0
commit 175c84673a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,7 @@ public class AbsoluteMaxTest {
assertEquals(16, AbsoluteMax.getMaxValue(-2, 0, 16));
assertEquals(-22, AbsoluteMax.getMaxValue(-3, -10, -22));
assertEquals(-888, AbsoluteMax.getMaxValue(-888));
assertEquals(-1, AbsoluteMax.getMaxValue(-1, -1, -1, -1, -1));
}
@Test