Exemple #1
0
        public void Ticks()
        {
            BadDuration duration = BadDuration.FromTicks(10);

            Assert.AreEqual(10, duration.Ticks);
        }
Exemple #2
0
        public void FromSeconds()
        {
            BadDuration duration = BadDuration.FromSeconds(5);

            Assert.AreEqual(50000000, duration.Ticks);
        }