示例#1
0
        public void KeyDateTest()
        {
            var license = new LicenseKey()
            {
                Created = DateTime.Today,
                Expires = DateTime.Today.AddDays(300)
            };

            Assert.IsTrue(license.DaysLeft() == 300);
        }