public void TestAttributesEqual() { DicomAttributeEmptyNullTestSuite test = new DicomAttributeEmptyNullTestSuite(); test.TestAttributesEqual(); }
public void DicomAttributeSetWhenNullTest() { DicomAttributeEmptyNullTestSuite test = new DicomAttributeEmptyNullTestSuite(); test.TestSetWhenNull(); }
public void DicomAttributeEmptyTest() { DicomAttributeEmptyNullTestSuite test = new DicomAttributeEmptyNullTestSuite(); test.TestEmpty(); }
public void DicomAttributeNotEmptyOrNullTest() { DicomAttributeEmptyNullTestSuite test = new DicomAttributeEmptyNullTestSuite(); test.TestNotEmptyOrNull(); }
public void TestSetNullValue() { DicomAttributeEmptyNullTestSuite test = new DicomAttributeEmptyNullTestSuite(); test.TestSetNull(); DicomFile file = new DicomFile(); base.SetupMultiframeXA(file.DataSet, 16, 16, 3); base.SetupMetaInfo(file); Assert.IsFalse(file.DataSet[DicomTags.PixelData].IsNull); file.DataSet[DicomTags.PixelData].SetNullValue(); Assert.IsTrue(file.DataSet[DicomTags.PixelData].IsNull); Assert.AreEqual(file.DataSet[DicomTags.PixelData].StreamLength, 0); }