public void Vector3IntTest() { int size = sizeof(int) * 8 * 3; Vector3Int value = new Vector3Int(rnd.Next(), rnd.Next(), rnd.Next()); stream.WriteVector3Int(value); Assert.AreEqual(size, stream.BitOffset); stream.ResetRead(); Assert.AreEqual(value, stream.ReadVector3Int()); Assert.AreEqual(size, stream.BitOffset); }