예제 #1
0
	def it_should_initializing(self):
		""" """
		blockType, position, owner, damage, seed, baseColor = BlockSetup.prepare()

		self.assertIsInstance(
				BaseBlock( blockType, position, owner, damage, seed )
				, BaseBlock
				)
		return None
예제 #2
0
	def setUp(self):
		""" """
		self.player = PlayerSetup.create()
		self.blockType = BlockTypeSetup.create()
		self.block = BlockSetup.create( owner = self.player, blockType = self.blockType )
		return None