public void UShort()
        {
            IByteMethods <ushort> methods =
                new Edu.Wisc.Forest.Flel.Util.ByteMethods.UShort();
            ushort origValue = (ushort)12345;

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

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

            Assert.AreEqual(origValue, fromMthdResult);
        }
        public void UShort()
        {
            IByteMethods<ushort> methods =
                                        new Edu.Wisc.Forest.Flel.Util.ByteMethods.UShort();
            ushort origValue = (ushort) 12345;
            byte[] bytes = methods.ToBytes(origValue);
            Assert.AreEqual(bytes.Length, sizeof(ushort));

            ushort fromMthdResult = methods.FromBytes(bytes, 0);
            Assert.AreEqual(origValue, fromMthdResult);
        }