assertEquals("Json", format, model2.asFormatString(null));
}
public void testDirichletASNormalModel() {
double[] d = { 1.1, 2.2, 3.3 };
Vector m = new DenseVector(d);
Printable model = new AsymmetricSampledNormalModel(m, m);
String format = model.asFormatString(null);
assertEquals("format", "asnm{n=0 m=[1.100, 2.200, 3.300] sd=[1.100, 2.200, 3.300]}", format);
String json = model.asJsonString();
GsonBuilder builder = new GsonBuilder();