コード例 #1
0
 private void AssertData(
     HeuristicsExtractionResult result,
     int day,
     int linesCount)
 {
     Expect(result.Heuristics[day].LinesCount, EqualTo(linesCount));
 }
コード例 #2
0
 private void AssertData(
     HeuristicsExtractionResult result,
     int day,
     long filePosition,
     int linesCount)
 {
     // file positions are supported only on Windows
     if (targetPlatform == Platform.Windows)
     {
         Expect(result.Heuristics[day].FilePositionInBytes, EqualTo(filePosition));
     }
     Expect(result.Heuristics[day].LinesCount, EqualTo(linesCount));
 }