コード例 #1
0
        public void SublocationFactory_Commercial()
        {
            Sublocation sl = SubLocationFactory.CreateSubLocation(Commercial.TYPE, 1, 1, 1);

            Assert.IsInstanceOfType(sl, typeof(Commercial));
        }
コード例 #2
0
        public void SublocationFactory_Civic()
        {
            Sublocation sl = SubLocationFactory.CreateSubLocation(Civic.TYPE, 1, 1, 1);

            Assert.IsInstanceOfType(sl, typeof(Civic));
        }
コード例 #3
0
        public void SublocationFactory_Residential()
        {
            Sublocation sl = SubLocationFactory.CreateSubLocation(Residential.TYPE, 1, 1, 1);

            Assert.IsInstanceOfType(sl, typeof(Residential));
        }