public void ContentHasSingleValue_ReturnsListOfInt32() { // Arrange var content = "30"; // Act var listOfInt32 = NecroDancerDataReader.ReadListOfInt32(content); // Assert Assert.Equal(new[] { 30 }, listOfInt32.ToList()); }
public void ContentHasMultipleValues_ReturnsListOfInt32() { // Arrange var content = "0|30|40"; // Act var listOfInt32 = NecroDancerDataReader.ReadListOfInt32(content); // Assert Assert.Equal(new[] { 0, 30, 40 }, listOfInt32.ToList()); }