mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
add missing attribute.
See https://github.com/shlomif/PySolFC/issues/129 .
This commit is contained in:
parent
8244d19e6e
commit
c7a3907d25
1 changed files with 7 additions and 0 deletions
|
@ -2,7 +2,11 @@
|
|||
|
||||
import unittest
|
||||
|
||||
<<<<<<< HEAD
|
||||
from pysollib.game import GameDrag, GameStacks
|
||||
=======
|
||||
from pysollib.game import GameDrag
|
||||
>>>>>>> f3d3517... add missing attribute.
|
||||
|
||||
|
||||
class MyTests(unittest.TestCase):
|
||||
|
@ -10,9 +14,12 @@ class MyTests(unittest.TestCase):
|
|||
d = GameDrag()
|
||||
d.shadows.append("test")
|
||||
self.assertTrue(len(d.shadows))
|
||||
<<<<<<< HEAD
|
||||
|
||||
def test_addattr(self):
|
||||
s = GameStacks()
|
||||
s.addattr(tableaux=[])
|
||||
s.tableaux.append("myval")
|
||||
self.assertEqual(s.tableaux, ["myval"])
|
||||
=======
|
||||
>>>>>>> f3d3517... add missing attribute.
|
||||
|
|
Loading…
Add table
Reference in a new issue