def create_space(): space = Space("test space") newton = create_newton() space += newton space += create_hardy() space += create_leibniz() return (space, newton)
def setUp(self): self.hardy = create_hardy() self.newton = create_newton() self.calc = create_calcguys() self.camb = create_cambguys() self.mathgrp = create_mathgrp() self.mathguys = create_mathguys()
def setUp(self): self.hardy = create_hardy() self.newton = create_newton() self.calc = create_calcguys(members=[self.newton, create_leibniz()]) self.camb = create_cambguys() self.mathgrp = create_mathgrp() self.mathguys = create_mathguys()
def create_teeny_space(): """ This space should be full! """ space = Space("test space", 2, 2) space += create_newton() space += create_hardy() space += create_leibniz() space += create_ramanujan() return space
def create_cambguys(): return Composite("Cambridge guys", members=[create_hardy(), create_ramanujan()])