Skip to content

Commit

Permalink
Respond to reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasColthurst committed Aug 12, 2024
1 parent 4e3f9b9 commit fa8526e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cxx/emissions/identity_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ BOOST_AUTO_TEST_CASE(test_simple) {

BOOST_TEST(ie.logp_score() == 0.0);
BOOST_TEST(ie.N == 0);
ie.incorporate(std::make_pair<bool, bool>(true, false));
ie.incorporate(std::make_pair<bool, bool>(true, true));
BOOST_TEST(ie.logp_score() == 0.0);
BOOST_TEST(ie.N == 1);
ie.unincorporate(std::make_pair<bool, bool>(true, false));
ie.unincorporate(std::make_pair<bool, bool>(true, true));
BOOST_TEST(ie.logp_score() == 0.0);
BOOST_TEST(ie.N == 0);

ie.incorporate(std::make_pair<bool, bool>(false, true));
ie.incorporate(std::make_pair<bool, bool>(false, true));
ie.incorporate(std::make_pair<bool, bool>(false, false));
ie.incorporate(std::make_pair<bool, bool>(false, false));
BOOST_TEST(ie.logp_score() == 0.0);
BOOST_TEST(ie.N == 2);

BOOST_TEST(ie.logp(std::make_pair<bool, bool>(true, false)) == 0.0);
BOOST_TEST(ie.logp(std::make_pair<bool, bool>(true, true)) == 0.0);

std::mt19937 prng;
BOOST_TEST(ie.propose_clean({true, true}, &prng));
Expand Down

0 comments on commit fa8526e

Please sign in to comment.