Navigation Menu

Skip to content

Commit

Permalink
Supporting non standard IDs using ``
Browse files Browse the repository at this point in the history
This allows us to define and use streams as
```
define stream `$InputStream` (`56$2theta` double, rho double);

```

(cherry picked from commit 9149ac3)
  • Loading branch information
suhothayan committed Feb 14, 2019
1 parent 06ec46a commit 01ea5a3
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -176,8 +176,9 @@ public void receive(long timestamp, Event[] inEvents, Event[] removeEvents) {
EventPrinter.print(timestamp, inEvents, removeEvents);
if (inEvents != null) {
inEventCount = inEventCount + inEvents.length;
// AssertJUnit.assertEquals(12, Math.round((Double) inEvents[0].getData(0)));
// AssertJUnit.assertEquals(5, Math.round((Double) inEvents[0].getData(1)));
AssertJUnit.assertEquals(22.6, inEvents[0].getData(0));
AssertJUnit.assertEquals(13.0,inEvents[0].getData(1));
AssertJUnit.assertEquals("test",inEvents[0].getData(2));

}
eventArrived = true;
Expand Down

0 comments on commit 01ea5a3

Please sign in to comment.