public void Test1() { var fromBytes = new byte[16]; fromBytes[15] = 0xff; fromBytes[14] = 0xff; fromBytes[13] = 0xff; fromBytes[12] = 0x44; NKS.IncrementCounter(fromBytes); var toBytes = new byte[16]; toBytes[15] = 0x00; toBytes[14] = 0x00; toBytes[13] = 0x00; toBytes[12] = 0x45; Assert.Equal(fromBytes, toBytes, new JaggedByteComparer(0.001)); }