public void TestWhenListHaveOnlyNegativeElement() { //arrange List <int> test = new List <int>(new int[] { -5, -5, -7, -7 }); //act List <int> output = new List <int>(new int[] { -5, -7 }); //assert Assert.AreEqual(output, SecondsMaker.Seconds(test)); }
public void TestWhenListHaveThreeElement() { //arrange List <int> test = new List <int>(new int[] { -5, 5, 7 }); //act List <int> output = new List <int>(new int[] { 5 }); //assert Assert.AreEqual(output, SecondsMaker.Seconds(test)); }