Exemple #1
0
        public void GetBooleanValue_returns_existing_value()
        {
            // arrange
            TagCompound target;
            Boolean     expected;
            Boolean     actual;
            string      name;

            expected = true;
            name     = "alpha";

            target = new TagCompound();
            target.Value.Add(name, expected);

            // act
            actual = target.GetBooleanValue(name);

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