public void kbo_is_valid(string identification) { // Arrange KBO kbo = new KBO(identification); // Act // Assert Assert.That(kbo.IsValid, Is.True); Assert.That(kbo.ElectronicVersion, Is.Not.Null); Assert.That(kbo.PaperVersion, Is.Not.Null); }
public string check_paperversion(string identification) { // Arrange KBO kbo = new KBO(identification); // Act // Assert Assert.That(kbo.IsValid, Is.True); Assert.That(kbo.ElectronicVersion, Is.Not.Null); return(kbo.PaperVersion); }
public void kbo_is_strict_valid(string identification) { // Arrange KBO kbo = new KBO(identification); // Act // Assert Assert.That(kbo.IsValid, Is.True); Assert.That(kbo.IsStrictValid, Is.True); Assert.That(kbo.ElectronicVersion, Is.EqualTo(kbo.CleanedVersion)); Assert.That(kbo.ElectronicVersion, Is.EqualTo(kbo.RawVersion)); Assert.That(kbo.PaperVersion, Is.Not.Null); }