public void Vector2IntTest() { Vector2Int value = new Vector2Int(rnd.Next(), rnd.Next()); stream.Skip(1); stream.WriteVector2Int(value); Assert.AreEqual(65, stream.BitOffset); stream.ResetRead(); stream.Skip(1); Assert.AreEqual(value, stream.ReadVector2Int()); Assert.AreEqual(65, stream.BitOffset); }