public void ShouldMatchWhenDicomTagIsNotPresent() { var query = new NotEqualsQuery(DicomTag.AccessionNumber, "Pineapple"); _dicomDataset.Clear(); query.Matches(_dicomDataset).Should().BeTrue(); }
public void ShouldNotMatchWhenValuesMatchesWildcardInBeginning(string value) { var query = new NotEqualsQuery(DicomTag.AccessionNumber, value); query.Matches(_dicomDataset).Should().BeFalse(); }
public void ShouldMatchWhenValuesAreNotEqual() { var query = new NotEqualsQuery(DicomTag.AccessionNumber, "Pineapple2"); query.Matches(_dicomDataset).Should().BeTrue(); }
public void ShouldMatchWhenValuesDoesNotMatchWildcard(string value) { var query = new NotEqualsQuery(DicomTag.AccessionNumber, value); query.Matches(_dicomDataset).Should().BeTrue(); }