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

                _dicomDataset.Clear();

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

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

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

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