@Test
public void testDeterminant() {

    assertEquals(20.0f, FastMath.determinant(
            5.0,  -7.0,  2.0,  2.0,
            0.0,   3.0,  0.0, -4.0,
           -5.0,  -8.0,  0.0,  3.0,
            0.0,   5.0,  0.0, -6.0), 0.0f);
    assertEquals(0.0f, FastMath.determinant(
            1.0,  2.0,  3.0,  4.0,
            5.0,  6.0,  7.0,  8.0,
            9.0,  10.0, 11.0, 12.0,
            13.0, 14.0, 15.0, 16.0), 0.0f);
}