1
0
Fork 0
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:
Shlomi Fish 2019-07-26 00:04:07 +03:00
parent 8244d19e6e
commit c7a3907d25

View file

@ -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.