public void Null() { // According to the spec, no release status means "stable". var release = new CKAN.ReleaseStatus(null); Assert.AreEqual("stable", release.ToString()); }
public void ReleaseGood(string status) { var release = new CKAN.ReleaseStatus(status); Assert.IsInstanceOf <CKAN.ReleaseStatus>(release); Assert.AreEqual(status, release.ToString()); }