use of jcog.math.Longerval in project narchy by automenta.
the class RevectionTest method assertTimeFusion.
static void assertTimeFusion(long start, long end, float factor, Longerval... ii) {
EviDensity a = new EviDensity();
for (Longerval i : ii) {
a.add(i.a, i.b, 1);
}
assertEquals(start, a.unionStart);
assertEquals(end, a.unionEnd);
assertEquals(factor, a.factor(), 0.001f);
}
Aggregations