Пример #1
0
        public void TestFalseStringValue()
        {
            ByteVariable var = new ByteVariable();

            var.CheckForStore("false");
            Assert.IsFalse(var.CheckForStore("false"));
        }
Пример #2
0
        public void TestByteVariableNullValue()
        {
            ByteVariable var    = new ByteVariable();
            bool         actual = var.CheckForStore(null);

            Assert.IsFalse(actual);
        }
Пример #3
0
        public void TestByteValue()
        {
            ByteVariable var       = new ByteVariable();
            byte         actualVal = 1;

            var.CheckForStore(actualVal);
            Assert.AreEqual(1, var.Value);
        }