public void MatchesSucceedsOnNameAndValue() { var sut = new ActaTuple(Guid.NewGuid(), "test", "value", 0); var result = sut.Matches("test", "value"); Assert.IsTrue(result); }
public void MatchesFailsOnNameAndValue() { var sut = new ActaTuple(Guid.NewGuid(), "test", "value1", 0); var result = sut.Matches("test", "value2"); Assert.IsFalse(result); }
public void Matches_NameIsCaseInsensitive() { var guid = Guid.NewGuid(); var sut = new ActaTuple(guid, "test", "value", 0); var result = sut.Matches(guid, "TEST"); Assert.IsTrue(result); }
public void MatchesSucceedsOnGuidAndName() { var guid = Guid.NewGuid(); var sut = new ActaTuple(guid, "test", "value", 0); var result = sut.Matches(guid, "test"); Assert.IsTrue(result); }
public void MatchesFailsOnGuidAndName() { var guid = Guid.NewGuid(); var sut = new ActaTuple(guid, "test1", "value", 0); var result = sut.Matches(guid, "test2"); Assert.IsFalse(result); }
public void ConstructorRejectsInvalidPropertyName() { var temp = new ActaTuple(Guid.NewGuid(), " ", "value", 0); }
public void Append(ActaTuple tuple) { list.Add(tuple); }