示例#1
0
		public void ConvertTo ()
		{
			PointConverter r = new PointConverter ();

			Point rect = new Point (1, 2);

			object o = r.ConvertTo (rect, typeof (string));
			
			Assert.AreEqual (typeof (string), o.GetType());
			Assert.AreEqual ("1,2", (string)o);
		}