public void TestConstruction(int x, int y) { var viewmodel = new TileViewModel(x, y); Assert.Equal(x, viewmodel.X); Assert.Equal(y, viewmodel.Y); }
public void CantBeConstructedWithNull(TileViewModel[] tiles) { Assert.Throws<ArgumentNullException>(() => new BoardViewModel(tiles)); }