Exemple #1
0
        public void Obsolete_Generate_ReturnsValidUid(string name)
        {
            var uid = DicomUID.Generate(name);

            Assert.True(DicomUID.IsValid(uid.UID));
            Assert.True(uid.UID.Length <= 64); // Currently not checked by DicomUID.IsValid
        }
Exemple #2
0
        public void Generate_ReturnsValidUid()
        {
            var uid = DicomUID.Generate();

            Assert.True(DicomUID.IsValid(uid.UID));
            Assert.True(uid.UID.Length <= 64); // Currently not checked by DicomUID.IsValid
        }