Skip to content

Commit

Permalink
Update TestAnalyzeLongRecording.cs
Browse files Browse the repository at this point in the history
Issue #276 - fixed another two broken unit tests
  • Loading branch information
towsey committed Nov 25, 2019
1 parent 1907094 commit b45652f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void TestAnalyzeSr22050Recording()
Assert.AreEqual(2, jsonCount);

var pngCount = listOfFiles.Count(f => f.Name.EndsWith(".png"));
Assert.AreEqual(22, pngCount);
Assert.AreEqual(21, pngCount);

var twoMapsImagePath = resultsDirectory.CombineFile("TemporaryRecording1__2Maps.png");
var twoMapsImage = ImageTools.ReadImage2Bitmap(twoMapsImagePath.FullName);
Expand Down Expand Up @@ -269,7 +269,7 @@ public void TestAnalyzeSr64000Recording()
// test number of images - should now be 23
listOfFiles = resultsDirectory.EnumerateFiles().ToArray();
pngCount = listOfFiles.Count(f => f.Name.EndsWith(".png"));
Assert.AreEqual(23, pngCount);
Assert.AreEqual(22, pngCount);

var twoMapsImagePath = resultsDirectory.CombineFile(recordingName + "__2Maps.png");
var twoMapsImage = ImageTools.ReadImage2Bitmap(twoMapsImagePath.FullName);
Expand Down

0 comments on commit b45652f

Please sign in to comment.