コード例 #1
0
 def setUpClass(cls):
     cls.dec_obs = DecimalViewer()
     cls.hex_obs = HexViewer()
     cls.sub = Data('Data')
     #inherited behavior already tested with TestSubject
     cls.sub.attach(cls.dec_obs)
     cls.sub.attach(cls.hex_obs)
コード例 #2
0
 def setUpClass(cls):
     cls.s = Subject()
     cls.dec_obs = DecimalViewer()
     cls.hex_obs = HexViewer()