public static void Main() { TestBasic b = new TestBasic(); b.Struct.d1 = 42; b.Struct.d2 = 84; b.Struct.d3 = 21; b.Struct.d4 = 69; FailUnlessEquals( 42, b.Struct.d1 ); FailUnlessEquals( 84, b.Struct.d2 ); FailUnlessEquals( 21, b.Struct.d3 ); FailUnlessEquals( 69, b.Struct.d4 ); }
public static void Main() { TestBasic b = new TestBasic(); b.Struct.d1 = 42; b.Struct.d2 = 84; b.Struct.d3 = 21; b.Struct.d4 = 69; FailUnlessEquals(42, b.Struct.d1); FailUnlessEquals(84, b.Struct.d2); FailUnlessEquals(21, b.Struct.d3); FailUnlessEquals(69, b.Struct.d4); }