zsmartsystems / com.zsmartsystems.zigbee

ZigBee Cluster Library Java framework supporting multiple dongles
Eclipse Public License 1.0
141 stars 87 forks source link

Add test for ExtendedPanId.equals #1333

Closed lacinoire closed 2 years ago

lacinoire commented 2 years ago

Hey 😊 I want to contribute the following test:

Test that address.equals(new java.lang.Object()) is false when equals is called with the parameter obj = new java.lang.Object(). This tests the method ExtendedPanId.equals. This test is based on the test testConstructorString.

Curious to hear what you think!

(I wrote this test as part of a research study at TU Delft. Find out more)

cdjackson commented 2 years ago

Hi. Thanks for this. I'm happy enough to merge this as you're right that notEquals is not tested at the moment.