Browse Source

More coverage

tags/version/0.2.2^0
Kai Kretschmann 4 months ago
parent
commit
99dc0f5966
2 changed files with 4 additions and 0 deletions
  1. 2
    0
      .gitignore
  2. 2
    0
      test/MeasureEntropy_test.cpp

+ 2
- 0
.gitignore View File

@@ -27,6 +27,8 @@
*.a
*.lib

*.swp

# Executables
*.exe
*.out

+ 2
- 0
test/MeasureEntropy_test.cpp View File

@@ -63,6 +63,8 @@ TEST(MeasureEntropyTest, Calculate) {
m.measure();
double r = m.getResult();
ASSERT_NEAR(r, 2.9, 0.1);

m.printResult();
}

TEST(MeasureEntropyTest, CalculateZeroes) {

Loading…
Cancel
Save
Social stuff:
Mastodon