Skip to content

Commit

Permalink
Fix five more broken tests
Browse files Browse the repository at this point in the history
Issue #276 Fixed more broken tests as result of removing the R3D spectral index.
  • Loading branch information
towsey committed Nov 25, 2019
1 parent 4dd38e0 commit 1907094
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void TestAnalyzeSr22050Recording()
Assert.AreEqual(38, listOfFiles.Length);

var csvCount = listOfFiles.Count(f => f.Name.EndsWith(".csv"));
Assert.AreEqual(16, csvCount);
Assert.AreEqual(15, csvCount);

var jsonCount = listOfFiles.Count(f => f.Name.EndsWith(".json"));
Assert.AreEqual(2, jsonCount);
Expand Down Expand Up @@ -210,7 +210,7 @@ public void TestAnalyzeSr64000Recording()
Assert.AreEqual(19, listOfFiles.Length);

var csvCount = listOfFiles.Count(f => f.Name.EndsWith(".csv"));
Assert.AreEqual(16, csvCount);
Assert.AreEqual(15, csvCount);

var jsonCount = listOfFiles.Count(f => f.Name.EndsWith(".json"));
Assert.AreEqual(2, jsonCount);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ public static void ClassInitialize(TestContext context)

// do some basic checks that the indices were generated
var listOfFiles = ResultsDirectory.EnumerateFiles().ToArray();
Assert.AreEqual(20, listOfFiles.Length);
Assert.AreEqual(19, listOfFiles.Length);
var csvCount = listOfFiles.Count(f => f.Name.EndsWith(".csv"));
Assert.AreEqual(16, csvCount);
Assert.AreEqual(15, csvCount);
var jsonCount = listOfFiles.Count(f => f.Name.EndsWith(".json"));
Assert.AreEqual(2, jsonCount);
var pngCount = listOfFiles.Count(f => f.Name.EndsWith(".png"));
Expand Down

0 comments on commit 1907094

Please sign in to comment.