Beispiel #1
0
            public void ShouldMatchWhenDateValueIsEqualAndInclusive()
            {
                var query = new GreaterThanQuery(DicomTag.StudyDate, "20200102", true);

                query.Matches(_dicomDataset).Should().BeTrue();
            }
Beispiel #2
0
            public void ShouldMatchWhenDateValueIsGreaterThanNotInclusive()
            {
                var query = new GreaterThanQuery(DicomTag.StudyDate, "20200101", false);

                query.Matches(_dicomDataset).Should().BeTrue();
            }
Beispiel #3
0
            public void ShouldMatchWhenNumberValueIsEqualAndInclusive()
            {
                var query = new GreaterThanQuery(DicomTag.Rows, "1000", true);

                query.Matches(_dicomDataset).Should().BeTrue();
            }
Beispiel #4
0
            public void ShouldMatchWhenStringValueIsEqualAndInclusive()
            {
                var query = new GreaterThanQuery(DicomTag.AccessionNumber, "Pineapple", true);

                query.Matches(_dicomDataset).Should().BeTrue();
            }
Beispiel #5
0
            public void ShouldMatchWhenNumberValueIsGreaterThanNotInclusive()
            {
                var query = new GreaterThanQuery(DicomTag.Rows, "999", false);

                query.Matches(_dicomDataset).Should().BeTrue();
            }