Ejemplo n.º 1
0
        public void MonthToWeek(double number, double expected)
        {
            TimeToTime.Form1 frm       = new TimeToTime.Form1();
            double           realValue = frm.MonthToWeek(number);

            NUnit.Framework.Assert.AreEqual(expected, realValue);
        }
Ejemplo n.º 2
0
        public void YearToDay(double number, double expected)
        {
            TimeToTime.Form1 frm       = new TimeToTime.Form1();
            double           realValue = frm.YearToDay(number);

            NUnit.Framework.Assert.AreEqual(expected, realValue);
        }
Ejemplo n.º 3
0
        public void SecondToSecond(double number, double expected)
        {
            TimeToTime.Form1 frm       = new TimeToTime.Form1();
            double           realValue = frm.SecondToSecond(number);

            NUnit.Framework.Assert.AreEqual(expected, realValue);
        }