Search in sources :

Example 1 with Chart

use of com.twosigma.beakerx.chart.Chart in project beakerx by twosigma.

the class ChartObjectManagerTest method registerChart_containsThatChart.

@Test
public void registerChart_containsThatChart() {
    Chart chart = new Plot();
    // when
    chartObjectManager.registerChart("id1", chart);
    // then
    Assertions.assertThat(chartObjectManager.getChart("id1")).isEqualTo(chart);
}
Also used : Plot(com.twosigma.beakerx.chart.xychart.Plot) Chart(com.twosigma.beakerx.chart.Chart) Test(org.junit.Test) KernelTest(com.twosigma.beakerx.KernelTest)

Aggregations

KernelTest (com.twosigma.beakerx.KernelTest)1 Chart (com.twosigma.beakerx.chart.Chart)1 Plot (com.twosigma.beakerx.chart.xychart.Plot)1 Test (org.junit.Test)1