Skip to content

Commit 7ca05a8

Browse files
committed
Minor fix
1 parent 184e1f8 commit 7ca05a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Algorithm/AlgorithmHistoryTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4063,7 +4063,7 @@ public void TickHistoryRequestsForFuturesShouldReturnSameDataCount(Resolution? r
40634063
}
40644064

40654065
var startDate = new DateTime(2013, 10, 08, 9, 30, 0);
4066-
var endDate = startDate.AddHours(1);
4066+
var endDate = startDate.AddMinutes(10);
40674067

40684068
var history1 = _algorithm.History<Tick>(symbol, startDate, endDate, Resolution.Tick).ToList();
40694069
var history1Count = history1.Count;
@@ -4081,7 +4081,7 @@ public void TickHistoryRequestsForFuturesShouldReturnSameDataCount(Resolution? r
40814081
history3Count = history3.shape[0].As<int>();
40824082
}
40834083

4084-
Assert.Greater(history1Count, 0);
4084+
Assert.AreEqual(4923, history1Count);
40854085
Assert.AreEqual(history1Count, history2Count);
40864086
Assert.AreEqual(history1Count, history3Count);
40874087
}

0 commit comments

Comments
 (0)