Example #1
0
        public void Null()
        {
            // According to the spec, no release status means "stable".
            var release = new CKAN.ReleaseStatus(null);

            Assert.AreEqual("stable", release.ToString());
        }
Example #2
0
        public void ReleaseGood(string status)
        {
            var release = new CKAN.ReleaseStatus(status);

            Assert.IsInstanceOf <CKAN.ReleaseStatus>(release);
            Assert.AreEqual(status, release.ToString());
        }