public void LexicographicalOrderingTest() { ECKeyPair key1 = new ECKeyPair("0242a4ae0c5bef18048fbecf995094b74bfb0f7391418d71ed394784373f41e4f3", false); ECKeyPair key2 = new ECKeyPair("028d7500dd4c12685d1f568b4c2b5048e8534b873319f3a8daa612b469132ec7f7", false); Assert.True(key1 < key2); Assert.True(key2 > key1); Assert.Equal(-4, key1.CompareTo(key2)); Assert.Equal(4, key2.CompareTo(key1)); Assert.Equal(0, key2.CompareTo(key2)); }