public void GetTagBoolValueOrNullReturnsNull() { var tags = new Dictionary<string, string>(); bool? tagValue = tags.GetTagBoolValueOrNull("testKey"); Assert.Null(tagValue); }
public void GetTagBoolValueOrNullReturnsNull() { var tags = new Dictionary <string, string>(); bool?tagValue = tags.GetTagBoolValueOrNull("testKey"); Assert.Null(tagValue); }
public void GetTagBoolValueOrNullReturnsCorrectBoolValue() { var tags = new Dictionary<string, string>(); string testKey = "testKey"; string testValue = "true"; tags[testKey] = testValue; bool? tagValue = tags.GetTagBoolValueOrNull(testKey); Assert.True(tagValue.Value); }
public void GetTagBoolValueOrNullReturnsCorrectBoolValue() { var tags = new Dictionary <string, string>(); string testKey = "testKey"; string testValue = "true"; tags[testKey] = testValue; bool?tagValue = tags.GetTagBoolValueOrNull(testKey); Assert.True(tagValue.Value); }