public void testString1() { var s = new[] { "aap", "noot", "mies" }; AssertNotNull(s); AssertEquals(s[0], "aap"); AssertEquals(s[1], "noot"); AssertEquals(s[2], "mies"); }
public void testJavaEnum() { var s = new[] { Paint.Join.BEVEL, Paint.Join.MITER, Paint.Join.BEVEL, Paint.Join.ROUND, Paint.Join.MITER }; AssertNotNull(s); AssertEquals(s[0], Paint.Join.BEVEL); AssertEquals(s[1], Paint.Join.MITER); AssertEquals(s[2], Paint.Join.BEVEL); AssertEquals(s[3], Paint.Join.ROUND); AssertEquals(s[4], Paint.Join.MITER); }
public void testMyEnum() { var s = new[] { MyEnum.Aap, MyEnum.Mies, MyEnum.Mies, MyEnum.Noot, MyEnum.Aap, MyEnum.Noot }; AssertNotNull(s); AssertEquals(s[0], MyEnum.Aap); AssertEquals(s[1], MyEnum.Mies); AssertEquals(s[2], MyEnum.Mies); AssertEquals(s[3], MyEnum.Noot); AssertEquals(s[4], MyEnum.Aap); AssertEquals(s[5], MyEnum.Noot); }
public void testMyObject() { var s = new[] { new MyObject("aap"), new MyObject("noot"), new MyObject("mies") }; AssertNotNull(s); AssertEquals(s[0].S, "aap"); AssertEquals(s[1].S, "noot"); AssertEquals(s[2].S, "mies"); }
public MatrixHandler(ag.Matrix matrix) { control = matrix; }
public GraphicsPathHandler(ag.Path control) { Control = control; }