diff --git a/tests/structure_learning.rs b/tests/structure_learning.rs index e3a43e4..2ddd513 100644 --- a/tests/structure_learning.rs +++ b/tests/structure_learning.rs @@ -92,8 +92,16 @@ fn learn_ternary_net_2_nodes (sl: T) { assert_eq!(BTreeSet::new(), net.get_parent_set(n1)); } + +#[test] +pub fn learn_ternary_net_2_nodes_hill_climbing_ll() { + let ll = LogLikelihood::init(1, 1.0); + let hl = HillClimbing::init(ll); + learn_ternary_net_2_nodes(hl); +} + #[test] -pub fn learn_ternary_net_2_nodes_hill_climbing() { +pub fn learn_ternary_net_2_nodes_hill_climbing_bic() { let bic = BIC::init(1, 1.0); let hl = HillClimbing::init(bic); learn_ternary_net_2_nodes(hl);