def test_simulation_init(self):
    assert (self.sim is not None), 'Sim is not set up'
    assert_equal(self.sim.data, 1)
    assert_equal(self.sim.num, 2)
    assert (self.sim.outfile is None), '_outfile is not None'
    assert (self.sim.out is None)
    assert_equal(self.sim.out_opened, False)
def test_simulation_init(self):
    assert (self.sim is not None), 'Sim is not set up'
    assert_equal(self.sim.data, 1)
    assert_equal(self.sim.num, 2)
    assert (self.sim.outfile is None), '_outfile is not None'
    assert (self.sim.out is None)
    assert_equal(self.sim.out_opened, False)