예제 #1
0
 public void testString1()
 {
     var s = new[] { "aap", "noot", "mies" };
     AssertNotNull(s);
     AssertEquals(s[0], "aap");
     AssertEquals(s[1], "noot");
     AssertEquals(s[2], "mies");
 }
예제 #2
0
 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);
 }
예제 #3
0
 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);
 }
예제 #4
0
 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");
 }
예제 #5
0
		public MatrixHandler(ag.Matrix matrix)
		{
			control = matrix;
		}
예제 #6
0
		public GraphicsPathHandler(ag.Path control)
		{
			Control = control;
		}