示例#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");
        }
		public void ViewStateTest () {

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

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

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