public void ParseAddressTest() { var address = KnxAddress.ParseLogical("1/2/3"); Assert.IsNotNull(address); address = KnxAddress.ParseLogical("15-7/3"); Assert.IsNotNull(address); address = KnxAddress.ParseLogical("15-7-255"); Assert.IsNotNull(address); try { address = KnxAddress.ParseLogical("hello world"); Assert.Fail("Exception should be trown."); } catch (FormatException) { } }