1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
PySolFC/tests/lib/pysol_tests/game_drag.py

25 lines
609 B
Python

# Written by Shlomi Fish, under the MIT Expat License.
import unittest
<<<<<<< HEAD
from pysollib.game import GameDrag, GameStacks
=======
from pysollib.game import GameDrag
>>>>>>> f3d3517... add missing attribute.
class MyTests(unittest.TestCase):
def test_shadows(self):
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.