Closed FRosner closed 10 years ago
The new utility class should also provide methods to check whether a cell is in the graph to avoid things like this in the feature manipulation integration test.
assertThat(_frame._featureGraph.getModel().getRootAt(0).toString()).isEqualTo(
new GaussianFeatureEntry(new FeatureDefinition("Feature", new GaussianDistribution(
new FixedParameter<Double>(0d), new FixedParameter<Double>(1d))), "0", MeanIsDependent.FALSE,
"1.0").toString());
Methods like
getCellByFeatureName(String name)
are test helper methods and should be put into a utility class.