Ejemplo n.º 1
0
 public void ConstructorYearWeek_ErrorWeekArgument_TooHigh()
 {
     //Act
     var _ = new YearWeek(1, 54);
 }
Ejemplo n.º 2
0
 public void ConstructorYearWeek_PlausibleValues()
 {
     //Act
     var week = new YearWeek(2015, 16);
     //Assert
     Assert.AreEqual(2015, week.Year);
     Assert.AreEqual(16, week.Week);
 }
Ejemplo n.º 3
0
 public void ConstructorYearWeek_ErrorWeekArgument_TooLow()
 {
     //Act
     var _ = new YearWeek(1, 0);
 }