コード例 #1
0
        public void TestMethod6()
        {
            DateTime laDate = DateTime.Today;
            int      leJour = laDate.Day;

            Assert.IsTrue(GestionDate.entre(5, 15));
        }
コード例 #2
0
        public void TestEntre()
        {
            //Arrange
            int      min  = 7;
            int      max  = 29;
            DateTime date = new DateTime(2018, 02, 19);
            //Act
            bool resultat = GestionDate.entre(min, max, date);

            //Assert
            Assert.IsTrue(resultat);
        }
コード例 #3
0
 public void TestMethod5()
 {
     Assert.IsTrue(GestionDate.entre(5, 15));
 }