Esempio n. 1
0
        public void Write_Boolean_False()
        {
            var sshData = new BoolSshData(false);
            
            var bytes = sshData.GetBytes();

            Assert.AreEqual((byte) 0, bytes[0]);
        }
Esempio n. 2
0
        public void Write_Boolean_True()
        {
            var sshData = new BoolSshData(true);

            var bytes = sshData.GetBytes();

            Assert.AreEqual((byte)1, bytes[0]);
        }
Esempio n. 3
0
        public void Write_Boolean_True()
        {
            var sshData = new BoolSshData(true);

            var bytes = sshData.GetBytes();

            Assert.AreEqual((byte) 1, bytes[0]);
        }
Esempio n. 4
0
        public void Write_Boolean_False()
        {
            var sshData = new BoolSshData(false);

            var bytes = sshData.GetBytes();

            Assert.AreEqual((byte)0, bytes[0]);
        }