Пример #1
0
 public void TestConstruction(int x, int y)
 {
     var viewmodel = new TileViewModel(x, y);
     Assert.Equal(x, viewmodel.X);
     Assert.Equal(y, viewmodel.Y);
 }
Пример #2
0
 public void CantBeConstructedWithNull(TileViewModel[] tiles)
 {
     Assert.Throws<ArgumentNullException>(() => new BoardViewModel(tiles));
 }