Skip to content

Commit

Permalink
style check
Browse files Browse the repository at this point in the history
  • Loading branch information
shajoezhu committed Oct 7, 2018
1 parent 328d44b commit ad6b99e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/dEploid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) {
dEploidIO.paintIBD();
} else if (dEploidIO.useLasso()) {
dEploidIO.dEploidLasso();
//cout << "to do" << endl;
// cout << "to do" << endl;
} else {
if (dEploidIO.useIBD()) { // ibd
McmcSample * ibdMcmcSample = new McmcSample();
Expand Down
17 changes: 9 additions & 8 deletions tests/unittest/test_dEploidIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -823,14 +823,15 @@ class TestIO : public CppUnit::TestCase {
"-lasso" };
CPPUNIT_ASSERT_NO_THROW(DEploidIO(10, argv));
DEploidIO dEploidIOlasso(10, argv);
//CPPUNIT_ASSERT_EQUAL(dEploidIOlasso.obsWsaf_.size(), (size_t)594);
//CPPUNIT_ASSERT_DOUBLES_EQUAL(dEploidIOlasso.obsWsaf_[0], 0, epsilon3);
//CPPUNIT_ASSERT_DOUBLES_EQUAL(dEploidIOlasso.obsWsaf_[4],
//0.22772277, epsilon2);
//CPPUNIT_ASSERT_DOUBLES_EQUAL(dEploidIOlasso.obsWsaf_[11],
//0.21111111, epsilon2);
//CPPUNIT_ASSERT_DOUBLES_EQUAL(dEploidIOlasso.obsWsaf_[589],
//0.18324607, epsilon2);
// CPPUNIT_ASSERT_EQUAL(dEploidIOlasso.obsWsaf_.size(), (size_t)594);
// CPPUNIT_ASSERT_DOUBLES_EQUAL(dEploidIOlasso.obsWsaf_[0],
// 0, epsilon3);
// CPPUNIT_ASSERT_DOUBLES_EQUAL(dEploidIOlasso.obsWsaf_[4],
// 0.22772277, epsilon2);
// CPPUNIT_ASSERT_DOUBLES_EQUAL(dEploidIOlasso.obsWsaf_[11],
// 0.21111111, epsilon2);
// CPPUNIT_ASSERT_DOUBLES_EQUAL(dEploidIOlasso.obsWsaf_[589],
// 0.18324607, epsilon2);
}
};

Expand Down

0 comments on commit ad6b99e

Please sign in to comment.