public void CRValueNameValidTest() { CR <String> cr = new CR <String>(); cr.Value = "284196006"; cr.Name = "SNOMED CT"; cr.NullFlavor = null; Assert.IsTrue(cr.Validate()); }
public void CRValueNameNullFlavorTest() { CR <String> cr = new CR <String>(); cr.Value = "284196006"; cr.Name = "SNOMED CT"; cr.NullFlavor = NullFlavor.NotAsked; Assert.IsFalse(cr.Validate()); }
public void CRNullFlavorTest() { CR <String> cr = new CR <String>(); cr.Value = null; cr.Name = null; cr.NullFlavor = NullFlavor.NotAsked; Assert.IsTrue(cr.Validate()); }
public void CRNullTest() { CR <String> cr = new CR <String>(); cr.Value = null; cr.Name = null; cr.NullFlavor = null; Assert.IsFalse(cr.Validate()); }
public void CRValueNameNotValidTest() { CR <String> cr = new CR <String>(); cr.Value = ""; cr.Name = ""; cr.NullFlavor = null; Assert.IsTrue(cr.Validate()); }
public void CRValueNameValidTest() { CR<String> cr = new CR<String>(); cr.Value = "284196006"; cr.Name = "SNOMED CT"; cr.NullFlavor = null; Assert.IsTrue(cr.Validate()); }
public void CRValueNameNullFlavorTest() { CR<String> cr = new CR<String>(); cr.Value = "284196006"; cr.Name = "SNOMED CT"; cr.NullFlavor = NullFlavor.NotAsked; Assert.IsFalse(cr.Validate()); }
public void CRNullFlavorTest() { CR<String> cr = new CR<String>(); cr.Value = null; cr.Name = null; cr.NullFlavor = NullFlavor.NotAsked; Assert.IsTrue(cr.Validate()); }
public void CRNullTest() { CR<String> cr = new CR<String>(); cr.Value = null; cr.Name = null; cr.NullFlavor = null; Assert.IsFalse(cr.Validate()); }
public void CRValueNameNotValidTest() { CR<String> cr = new CR<String>(); cr.Value = ""; cr.Name = ""; cr.NullFlavor = null; Assert.IsTrue(cr.Validate()); }