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 }
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 }