public void When_The_Start_Is_Greater_Than_The_End()
 {
     var instance = new EvensAscendingSequenceCalculator();
     var result = instance.Evaluate(11, 10);
     result.ToArray();
     Assert.Fail("Should have exceptioned...");
 }
 public void Then_The_Start_Value_Is_Not_Included_When_It_Starts_At_An_Odd()
 {
     var instance = new EvensAscendingSequenceCalculator();
     var result = instance.Evaluate(1, 10);
     Assert.IsNotNull(result);
     Assert.IsTrue(result.Any());
     Assert.AreEqual("2", result.First());
 }
 public void Then_The_End_Value_Is_Not_Included_When_It_Ends_At_An_Odd()
 {
     var instance = new EvensAscendingSequenceCalculator();
     var result = instance.Evaluate(0, 11);
     Assert.IsNotNull(result);
     Assert.IsTrue(result.Any());
     Assert.AreEqual("10", result.Last());
 }
 public void When_A_Simple_Small_Range_Is_Selected()
 {
     var instance = new EvensAscendingSequenceCalculator();
     var result = instance.Evaluate(0, 10);
     Assert.IsNotNull(result);
     Assert.IsTrue(result.Any());
     Assert.AreEqual("0", result.First());
     Assert.AreEqual("10", result.Last());
     Assert.AreEqual(6, result.Count());
     Assert.AreEqual("0 2 4 6 8 10", String.Join(" ", result.ToArray()));
 }