예제 #1
0
        public void VersionIsNotEmpty()
        {
            IVkApiVersionManager manager = new VkApiVersionManager();

            Assert.IsNotNull(manager);
            Assert.IsFalse(string.IsNullOrWhiteSpace(manager.Version));
        }
예제 #2
0
        public void VersionIsChanged()
        {
            IVkApiVersionManager manager = new VkApiVersionManager();

            manager.SetVersion(0, 0);
            Assert.AreEqual("0.0", manager.Version);
        }
예제 #3
0
        public void VersionIsChanged()
        {
            const string         zero    = "0";
            IVkApiVersionManager manager = new VkApiVersionManager();

            manager.SetVersion(zero);
            Assert.AreEqual(zero, manager.Version);
        }