public long?dmfa_check_as_number(string identification) { // Arrange DMFA dmfa = new DMFA(identification); // Act // Assert return(dmfa.AsNumber); }
public string check_paperversion(string identification) { // Arrange DMFA dmfa = new DMFA(identification); // Act // Assert Assert.That(dmfa.IsValid, Is.True); Assert.That(dmfa.ElectronicVersion, Is.Not.Null); return(dmfa.PaperVersion); }
public void dmfa_is_valid(string identification) { // Arrange DMFA dmfa = new DMFA(identification); // Act // Assert Assert.That(dmfa.IsValid, Is.True); Assert.That(dmfa.ElectronicVersion, Is.Not.Null); Assert.That(dmfa.PaperVersion, Is.Not.Null); }
public void dmfa_is_strict_valid(string identification) { // Arrange DMFA dmfa = new DMFA(identification); // Act // Assert Assert.That(dmfa.IsValid, Is.True); Assert.That(dmfa.IsStrictValid, Is.True); Assert.That(dmfa.ElectronicVersion, Is.EqualTo(dmfa.CleanedVersion)); Assert.That(dmfa.ElectronicVersion, Is.EqualTo(dmfa.RawVersion)); Assert.That(dmfa.PaperVersion, Is.Not.Null); }