def test_face_neg_x(self): b = Block(Vector(0,0,0), 4, 0) self.failUnlessEqual(b.get_faces(Vector(-2,0,.5))[0][0], 4)
def test_face_pos_x(self): b = Block(Vector(0, 0, 0), 4, 0) self.failUnlessEqual(b.get_faces(Vector(2,0,0.5))[0][0], 5)
def test_face_pos_z(self): b = Block(Vector(0, 0, 0), 4, 0) self.failUnlessEqual(b.get_faces(Vector(0.5,0,2))[0][0], 3)