Example #1
0
            public void ShouldMatchWhenDicomTagIsNotPresent()
            {
                var query = new NotEqualsQuery(DicomTag.AccessionNumber, "Pineapple");

                _dicomDataset.Clear();

                query.Matches(_dicomDataset).Should().BeTrue();
            }
Example #2
0
            public void ShouldNotMatchWhenValuesMatchesWildcardInBeginning(string value)
            {
                var query = new NotEqualsQuery(DicomTag.AccessionNumber, value);

                query.Matches(_dicomDataset).Should().BeFalse();
            }
Example #3
0
            public void ShouldMatchWhenValuesAreNotEqual()
            {
                var query = new NotEqualsQuery(DicomTag.AccessionNumber, "Pineapple2");

                query.Matches(_dicomDataset).Should().BeTrue();
            }
Example #4
0
            public void ShouldMatchWhenValuesDoesNotMatchWildcard(string value)
            {
                var query = new NotEqualsQuery(DicomTag.AccessionNumber, value);

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