Esempio n. 1
0
        public void GetByteArrayValue_returns_default_value()
        {
            // arrange
            TagCompound target;

            byte[] expected;
            byte[] actual;
            string name;

            expected = new byte[] { 2, 4, 8, 16, 32, 64, 128 };
            name     = "alpha";

            target = new TagCompound();

            // act
            actual = target.GetByteArrayValue(name, expected);

            // assert
            Assert.AreEqual(expected, actual);
        }