public void Matrix4DTestIsIdentity() { Matrix4d m = new Matrix4d( new double[] { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 }); Matrix4d m2 = new Matrix4d( new double[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }); Assert.IsTrue(m.IsIdentity()); Assert.IsFalse(m2.IsIdentity()); }