public void TestSetValueAfterRemovingPossiblities()
        {
            Square s = new Square(1, 1);
            Square eventSquare = null;
            s.ValueSetEvent += delegate(object sender, Square square)
            {
                eventSquare = square;
            };

            for (int x = 1; x < 9; x++) s.RemovePossiblity(x);
            Assert.IsNotNull(eventSquare);
            Assert.AreEqual(eventSquare.Value, 9);
        }
 public void TestSquareToString()
 {
     Square s = new Square(1, 1);
     Assert.AreEqual("1,2,3,4,5,6,7,8,9", s.ToString());
     s.RemovePossiblity(5);
     Assert.AreEqual("1,2,3,4,6,7,8,9", s.ToString());
     s.Value = 4;
     Assert.AreEqual("4", s.ToString());
 }