public static void Check(ref MyGrowingStruct s) { Assert.AreEqual(s.x, 111); Assert.AreEqual(s.y, 222); }
static void TestGrowingStruct() { MyGrowingStruct s = MyGrowingStruct.Construct(); MyGrowingStruct.Check(ref s); }
public static void Check(ref MyGrowingStruct s) { Assert.AreEqual(s.x, 111); Assert.AreEqual(s.y, 222); }
static void TestGrowingStruct() { MyGrowingStruct s = MyGrowingStruct.Construct(); MyGrowingStruct.Check(ref s); }