public void VersionIsNotEmpty() { IVkApiVersionManager manager = new VkApiVersionManager(); Assert.IsNotNull(manager); Assert.IsFalse(string.IsNullOrWhiteSpace(manager.Version)); }
public void VersionIsChanged() { IVkApiVersionManager manager = new VkApiVersionManager(); manager.SetVersion(0, 0); Assert.AreEqual("0.0", manager.Version); }
public void VersionIsChanged() { const string zero = "0"; IVkApiVersionManager manager = new VkApiVersionManager(); manager.SetVersion(zero); Assert.AreEqual(zero, manager.Version); }