Commits

Marcin Kasperski committed 330bb83

upd

  • Participants
  • Parent commits 1bbdabe

Comments (0)

Files changed (1)

File tests/test_style12.py

         s12obj = style12.Style12(txt)
         self.failUnlessEqual(s12obj.white, 'moetown')
         self.failUnlessEqual(s12obj.black, 'rikosuara')
+    def test2(self):
+        txt = '<12> -------- -QppK-B- -------- -n------ -Nk-N--- -------- -RB----- r--r---- W -1 0 0 0 0 0 419 GuestQQSZ puzzlebot -2 0 0 0 0 0 0 1 none (0:00) none 0 0 0'
+        s12obj = style12.Style12(txt)
+        self.failUnlessEqual(s12obj.white, 'GuestQQSZ')
+        self.failUnlessEqual(s12obj.black, 'puzzlebot')        
 
 
 class Style12LegacyTestCase(unittest.TestCase):