Exemplo n.º 1
0
        public void ContainsProvinceReturnsFalseForMissingProvinces()
        {
            var reader = new BufferedReader("provinces = { 2 3 } \n");
            var area   = new ImperatorArea("area", reader);

            Assert.False(area.ContainsProvince(4));
            Assert.False(area.ContainsProvince(5));
        }
Exemplo n.º 2
0
        public void ContainsProvinceReturnsTrueForCorrectProvinces()
        {
            var reader = new BufferedReader("provinces = { 2 3 } \n");
            var area   = new ImperatorArea("area", reader);

            Assert.True(area.ContainsProvince(2));
            Assert.True(area.ContainsProvince(3));
        }