diff --git a/cpp/testBinaryBayesNet.cpp b/cpp/testBinaryBayesNet.cpp index ee4fc18f3..fecfe772f 100644 --- a/cpp/testBinaryBayesNet.cpp +++ b/cpp/testBinaryBayesNet.cpp @@ -56,14 +56,12 @@ TEST( BinaryBayesNet, constructor ) config["x"] = false; // unary conditional for y boost::shared_ptr py(new BinaryConditional("y",0.2)); - py->print("py"); DOUBLES_EQUAL(0.8,py->probability(config),0.01); // single parent conditional for x vector cpt; cpt += 0.3, 0.6 ; // array index corresponds to binary parent configuration boost::shared_ptr px_y(new BinaryConditional("x","y",cpt)); - px_y->print("px_y"); DOUBLES_EQUAL(0.7,px_y->probability(config),0.01); // push back conditionals in topological sort order (parents last)