mirror of
https://github.com/kristoferssolo/Tetris.git
synced 2025-10-21 20:00:35 +00:00
18 lines
465 B
Python
18 lines
465 B
Python
import unittest
|
|
|
|
import numpy as np
|
|
|
|
|
|
class TestHeuristics(unittest.TestCase):
|
|
def setUp(self) -> None:
|
|
self.field = np.array(
|
|
[
|
|
[0, 0, 0, 0, 1, 1, 0, 0, 0, 0],
|
|
[0, 1, 1, 1, 1, 1, 1, 0, 0, 1],
|
|
[0, 1, 1, 0, 1, 1, 1, 1, 1, 1],
|
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
[1, 1, 1, 0, 1, 1, 1, 1, 1, 1],
|
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
]
|
|
)
|