public void SByte()
        {
            IByteMethods<sbyte> methods =
                                        new Edu.Wisc.Forest.Flel.Util.ByteMethods.SByte();
            sbyte origValue = (sbyte) -123;
            byte[] bytes = methods.ToBytes(origValue);
            Assert.AreEqual(bytes.Length, sizeof(sbyte));

            sbyte fromMthdResult = methods.FromBytes(bytes, 0);
            Assert.AreEqual(origValue, fromMthdResult);
        }
        public void SByte()
        {
            IByteMethods <sbyte> methods =
                new Edu.Wisc.Forest.Flel.Util.ByteMethods.SByte();
            sbyte origValue = (sbyte)-123;

            byte[] bytes = methods.ToBytes(origValue);
            Assert.AreEqual(bytes.Length, sizeof(sbyte));

            sbyte fromMthdResult = methods.FromBytes(bytes, 0);

            Assert.AreEqual(origValue, fromMthdResult);
        }