Exemplo n.º 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");
        }
Exemplo n.º 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");
		}