示例#1
0
文件: cpu.py 项目: bruntonspall/pyz
 def print_line(self, text):
     print ztext.to_zscii(text)
示例#2
0
 def testCanGetZsciiFromZtext(self):
     self.assertEquals("abc",ztext.to_zscii([6,7,8]))
     self.assertEquals("Abc",ztext.to_zscii([4,6,7,8]))
     self.assertEquals("", ztext.to_zscii([4,4,4,4]))
     self.assertEquals("7!",ztext.to_zscii([5,15,5,20]))
     self.assertEquals(" \n \n",ztext.to_zscii([0,1,5,6,5,7]))