public void HashCode() { var par0 = new CFrame(1, 1, 1); var par1 = new CFrame(new Vector3(1, 1, 1)); Assert.AreEqual(par0.GetHashCode(), par1.GetHashCode(), "Hashcodes did not match when they should have."); var par2 = new CFrame(1, 1, 1); var par3 = new CFrame(new Vector3(2, 2, 2)); Assert.AreNotEqual(par2.GetHashCode(), par3.GetHashCode(), "Hashcodes did match when they should not have."); }