public void TransformMatrixAndBackToStringTest() { Scientrace.NonzeroVector u, v; u = new Scientrace.NonzeroVector(5, 2, 4); v = new Scientrace.NonzeroVector(3, 2, 3); Scientrace.VectorTransform foo = new Scientrace.VectorTransform(u, v); Scientrace.Vector orivec = new Scientrace.Vector(5, 1, 2); Scientrace.Vector tvec = foo.transform(orivec); Scientrace.Vector tbackvec = foo.transformback(tvec); Assert.AreEqual(orivec.ToCompactString(), tbackvec.ToCompactString()); }