public void WriteHigh_Test(int pin)
        {
            var bytes = ByteBuilder.WriteHigh(pin);

            var method = ByteBuilder.Encrypt(bytes[0], out int pinOut);

            Assert.Equal(pin, pinOut);
            Assert.Equal(Method.WriteHigh, method);
        }
        public void Hello_Test()
        {
            var bytes = ByteBuilder.Hello();

            var method = ByteBuilder.Encrypt(bytes[0], out int x);

            Assert.Equal(0, x);
            Assert.Equal(Method.Hello, method);
        }
        public void Ping_Test(int hash)
        {
            var bytes = ByteBuilder.Ping(hash);

            var method = ByteBuilder.Encrypt(bytes[0], out int hashOut);

            Assert.Equal(hash, hashOut);
            Assert.Equal(Method.Ping, method);
        }