Skip to content
Permalink
Browse files

numeric value check, not string check.

  • Loading branch information...
pabender committed Aug 26, 2019
1 parent 3a8455f commit 5b9a13f2b6f719a94239c2059ef8977cfdb12428
Showing with 3 additions and 3 deletions.
  1. +3 −3 java/test/jmri/jmrix/roco/z21/Z21CanBusSensorManagerTest.java
@@ -95,10 +95,10 @@ public void testZ21CanBusMessages() {
Z21Reply reply = new Z21Reply(msg,14);
znis.sendTestMessage(reply);

// see if sensor exists
// note that name matches case of name sent
// see if sensor exists note that the node value is numeric,
// but in hex format.
Assert.assertNotNull(l.getBySystemName("ZSabcd:1"));
Assert.assertNull(l.getBySystemName("ZSABCD:1"));
Assert.assertNotNull(l.getBySystemName("ZSABCD:1"));
}

@Test

0 comments on commit 5b9a13f

Please sign in to comment.
You can’t perform that action at this time.