Use time parameters give in test file.

feature/19
Daniel Warner 2011-04-27 14:36:19 +01:00
parent cb59b3414a
commit f4ed53c4e7
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ void RunTest(const char* infile) {
*/ */
if (Tle::IsValidLine(line2, 2)) { if (Tle::IsValidLine(line2, 2)) {
Tle tle("Test", line1, line2); Tle tle("Test", line1, line2);
RunTle(tle, 0.0, 1440.0, 120.0); RunTle(tle, start, end, inc);
} else { } else {
std::cerr << "Error: Badly formatted second line:" << std::endl; std::cerr << "Error: Badly formatted second line:" << std::endl;
std::cerr << line2 << std::endl; std::cerr << line2 << std::endl;