예제 #1
0
        public void ViewStateTest()
        {
            PokerImage src = new PokerImage();

            src.Enabled = false;

            PokerImage dest = new PokerImage();

            dest.LoadState(src.SaveState());

            Assert.AreEqual(false, dest.Enabled, "Enabled");
        }
예제 #2
0
		public void ViewStateTest () {

			PokerImage src = new PokerImage ();
			src.Enabled = false;

			PokerImage dest = new PokerImage ();
			dest.LoadState (src.SaveState ());

			Assert.AreEqual (false, dest.Enabled, "Enabled");
		}