public void testQuadratic3() { a = 2; b = 2; c = 3; int natureExpected = -1; int natureReturned = QuadraticRoots.natureOfRoots(a, b, c); assertEquals(natureExpected, natureReturned); }
public void testQuadratic2() { a = 4; b = 12; c = 9; int natureExpected = 0; int natureReturned = QuadraticRoots.natureOfRoots(a, b, c); assertEquals(natureExpected, natureReturned); }