Beispiel #1
0
 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, []])
Beispiel #2
0
 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'], []])
Beispiel #3
0
 def test_aT(self):
     self.init_hkshell()
     hkshell.aT(1, 't')
     self.assertEqual(self.tags(), [[], ['t'], [], [], []])
     hkshell.aT(1, ['t', 'u'])
     self.assertEqual(self.tags(), [[], ['t', 'u'], [], [], []])
Beispiel #4
0
 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'], [], []])