def setUp(self):
        root = Tk()
        gameCanvas = Canvas(root, width = 200, height = 200)
        gameCanvas.grid(row = 0, column = 0)
        self.wallSpecs = Map1.getWallSpecifications()

        self.specs1 = {'xCenter': 40,
					'yCenter': 24,
					'radius': 10,
                                        'speed': 10,
					'color': "white",
					'tag': "dot"}

        self.specs2 = {'xCenter': 800,
					'yCenter': 40,
					'radius': 10,
                                        'speed': 10,
					'color': "blue",
					'tag': "dot"}    
        
        self.specs3 = {'xCenter': 10,
					'yCenter': -10,
					'radius': 10,
                                        'speed': 10,
					'color': "red",
					'tag': "dot"}               
        
        self.sprite1 = sp.Sprite(gameCanvas,self.specs1)
        self.sprite2 = sp.Sprite(gameCanvas,self.specs2)
        self.sprite3 = sp.Sprite(gameCanvas,self.specs3)      
    def setUp(self):
        root = Tk()
        gameCanvas = Canvas(root, width = 200, height = 200)
        gameCanvas.grid(row = 0, column = 0)
        self.pacmanSpecs = Map1.getPacmanSpecifications()
        self.wallSpecs = Map1.getWallSpecifications()
        self.pacman = pm.Pacman(self, gameCanvas, self.pacmanSpecs)
	self.walls = []
	for i in self.wallSpecs:
	    self.walls.append(w.Wall(gameCanvas,i))
    def setUp(self):
        root = Tk()
        gameCanvas = Canvas(root, width = 200, height = 200)
        gameCanvas.grid(row = 0, column = 0)
        self.ghostSpecs = Map1.getGhostSpecifications()
	self.pacmanSpecs = Map1.getPacmanSpecifications()
	self.pacman = pm.Pacman(self, gameCanvas, self.pacmanSpecs)	
        self.wallSpecs = Map1.getWallSpecifications()
        self.ghost1 = gh.Ghost(self, gameCanvas, 1, self.ghostSpecs[0])
	self.ghost2 = gh.Ghost(self, gameCanvas, 2, self.ghostSpecs[1])
	self.ghost3 = gh.Ghost(self, gameCanvas, 3, self.ghostSpecs[2])
	self.ghost4 = gh.Ghost(self, gameCanvas, 4, self.ghostSpecs[3])
	self.dots = [0,0,0,0,0,0,0,0,0,0]
	self.dotsEaten=100
	self.walls = []
	for i in self.wallSpecs:
	    self.walls.append(w.Wall(gameCanvas,i))
    def setUp(self):
	#This test class uses testMapCoordinator, which is the exact same thing as MapCoordinator in maps, except the path is different, because the test files and the files that open pacman are in different locations
	map1 = mc.getMap(1)
	map2 = mc.getMap(2)
	map3 = mc.getMap(3)
	
	#Get specifications for dots, energizers, ghosts, walls and pacman for each map file
        self.dots1 = map1.getDotSpecifications()
        self.energizers1 = map1.getEnergizerSpecifications()
        self.ghosts1 = map1.getGhostSpecifications()
        self.walls1 = map1.getWallSpecifications()
        self.pacman1 = map1.getPacmanSpecifications()
	self.bonus1 = map1.getBonusItemSpecifications()
        self.dots2 = map2.getDotSpecifications()
        self.energizers2 = map2.getEnergizerSpecifications()
        self.ghosts2 = map2.getGhostSpecifications()
        self.walls2 = map2.getWallSpecifications()
        self.pacman2 = map2.getPacmanSpecifications()
        self.dots3 = map3.getDotSpecifications()
        self.energizers3 = map3.getEnergizerSpecifications()
        self.ghosts3 = map3.getGhostSpecifications()
        self.walls3 = map3.getWallSpecifications()
        self.pacman3 = map3.getPacmanSpecifications()