Exemplo n.º 1
0
        public void ShouldConvertSemVewFileToVersion()
        {
            var content = File.ReadAllText(".semver");
            var semVerReader = new SemVerReader(content);
            var version = semVerReader.GetVersion();

            Assert.That(version, Is.EqualTo(new Version(0,1,0)));
        }
Exemplo n.º 2
0
        public void ShouldConvertSemVewFileToVersion()
        {
            var content      = File.ReadAllText(".semver");
            var semVerReader = new SemVerReader(content);
            var version      = semVerReader.GetVersion();

            Assert.That(version, Is.EqualTo(new Version(0, 1, 0)));
        }