Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
        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);
        }