public void PlayerNull() { // Arrange var game = new Game8x4(null, 0); // Act var shortenedName = game.MapTo<Team8x4DetailsViewModel.Game>().Player; // Assert Assert.Empty(shortenedName); }
public void SimpleCase() { // Arrange var game = new Game8x4("Daniel Lidström", 200); // Act var shortenedName = game.MapTo<Team8x4DetailsViewModel.Game>().Player; // Assert Assert.Equal("D. Lidström", shortenedName); }
public void DoubleName() { // Arrange var game = new Game8x4("Karl-Erik Frick", 200); // Act var shortenedName = game.MapTo<Team8x4DetailsViewModel.Game>().Player; // Assert Assert.Equal("K-E. Frick", shortenedName); }