public void TryFromValueToStringReturnsNullGivenInvalidValue() { var boolReturn = SmartFlagTestEnum.TryFromValueToString(345, out var result); Assert.False(boolReturn); Assert.Null(result); }
public void TryFromValueToStringReturnValidString() { var boolReturn = SmartFlagTestEnum.TryFromValueToString(3, out var result); Assert.True(boolReturn); Assert.Equal("One, Two", result); }