def test_pT__3(self): self.init_hkshell() hkshell.aT(0, 't1') hkshell.aT(0, 't2') hkshell.pT(0) t = ['t1', 't2'] self.assertEqual(self.tags(), [t, t, t, t, []])
def test_pT__2(self): self.init_hkshell() hkshell.aT(0, 't1') hkshell.aT(1, 't2') hkshell.pT(0) self.assertEqual( self.tags(), [['t1'], ['t1', 't2'], ['t1'], ['t1'], []])
def test_pT__1(self): self.init_hkshell() hkshell.aT(1, 't') self.assertEqual(self.tags(), [[], ['t'], [], [], []]) hkshell.pT(1) self.assertEqual(self.tags(), [[], ['t'], ['t'], [], []])