public void SearchForDay_WhatDayIsItInFebuary_True() { //arrange DayOfChoice testDate = new DayOfChoice(20, 2, 1900); //act string day = testDate.SearchForDay(); //assert Assert.Equal(day, "Tuesday"); }
public void SearchForDay_WhatDayIsItBetweenMarchAndAugust2_True() { //arrange DayOfChoice testDate = new DayOfChoice(31, 8, 1900); //act string day = testDate.SearchForDay(); //assert Assert.Equal(day, "Friday"); }
public void SearchForDay_WhatDayIsItInMonth_True() { //arrange DayOfChoice testDate = new DayOfChoice(20, 1, 1900); //act string day = testDate.SearchForDay(); //assert Assert.Equal(day, "Saturday"); }
public void SearchForDay_WhatDayIsItForWholeYear_True() { //arrange DayOfChoice testDate = new DayOfChoice(13, 11, 1900); //act string day = testDate.SearchForDay(); Console.WriteLine(day); //assert Assert.Equal(day, "Tuesday"); }