public void TestStaticFn_IsUnit_i ()
{
Vector4 a = new Vector4( 1, 0, 0, 0);
Vector4 b = new Vector4(-1, 0, 0, 0);
Vector4 c = new Vector4( 0, 1, 0, 0);
Vector4 d = new Vector4( 0, -1, 0, 0);
Vector4 e = new Vector4( 0, 0, 1, 0);
Vector4 f = new Vector4( 0, 0, -1, 0);
Vector4 g = new Vector4( 0, 0, 0, 1);
Vector4 h = new Vector4( 0, 0, 0, -1);
Vector4 i = new Vector4( 1, 1, 1, 1);
Vector4 j = new Vector4( 0, 0, 0, 0);
Assert.That(a.IsUnit(), Is.EqualTo(true));
Assert.That(b.IsUnit(), Is.EqualTo(true));
Assert.That(c.IsUnit(), Is.EqualTo(true));
Assert.That(d.IsUnit(), Is.EqualTo(true));
Assert.That(e.IsUnit(), Is.EqualTo(true));
Assert.That(f.IsUnit(), Is.EqualTo(true));
Assert.That(g.IsUnit(), Is.EqualTo(true));
Assert.That(h.IsUnit(), Is.EqualTo(true));
Assert.That(i.IsUnit(), Is.EqualTo(false));
Assert.That(j.IsUnit(), Is.EqualTo(false));
}