public void FillCellWithIntersectionOfKey() { IList<Line> columns = new List<Line> { new Line( new List<Clue>() ), new Line( new List<Clue>{new Clue( 2 )}), new Line( new List<Clue>{new Clue( 3 )}), new Line( new List<Clue>{new Clue( 1 )}), new Line( new List<Clue>() ) }; IList<Line> rows = new List<Line> { new Line( new List<Clue>() ), new Line( new List<Clue>{new Clue( 2 )}), new Line( new List<Clue>{new Clue( 3 )}), new Line( new List<Clue>{new Clue( 1 )}), new Line( new List<Clue>() ) }; var newField = new Field( columns, rows ); var solver = new Solver( columns, rows ); bool res = solver.CheckFilled( newField.Cells[2, 2] ); Assert.AreEqual( res, true ); res = solver.CheckFilled( newField.Cells[1, 2] ); Assert.AreEqual( res, false ); }