Beispiel #1
0
        public void CanConvertEnumIntoFriendlyString(TestTypes value, string expected)
        {
            // Arrange/Act
            var actual = value.ToFriendlyString();

            // Assert
            Assert.That(actual, Is.Not.Null.And.EqualTo(expected));
        }
Beispiel #2
0
        public void CanConvertEnumIntoFriendlyString(TestTypes value, string expected)
        {
            // Arrange/Act
            var actual = value.ToFriendlyString();

            // Assert
            Assert.NotNull(actual);
            Assert.Equal(expected, actual);
        }
Beispiel #3
0
 public string CanConvertEnumIntoFriendlyString(TestTypes value)
 {
     return(value.ToFriendlyString());
 }