public void ShouldMatchWhenDateValueIsEqualAndInclusive() { var query = new GreaterThanQuery(DicomTag.StudyDate, "20200102", true); query.Matches(_dicomDataset).Should().BeTrue(); }
public void ShouldMatchWhenDateValueIsGreaterThanNotInclusive() { var query = new GreaterThanQuery(DicomTag.StudyDate, "20200101", false); query.Matches(_dicomDataset).Should().BeTrue(); }
public void ShouldMatchWhenNumberValueIsEqualAndInclusive() { var query = new GreaterThanQuery(DicomTag.Rows, "1000", true); query.Matches(_dicomDataset).Should().BeTrue(); }
public void ShouldMatchWhenStringValueIsEqualAndInclusive() { var query = new GreaterThanQuery(DicomTag.AccessionNumber, "Pineapple", true); query.Matches(_dicomDataset).Should().BeTrue(); }
public void ShouldMatchWhenNumberValueIsGreaterThanNotInclusive() { var query = new GreaterThanQuery(DicomTag.Rows, "999", false); query.Matches(_dicomDataset).Should().BeTrue(); }