mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Merge branch 'python-tests' of github.com:IsxImattI/Python into python-tests
This commit is contained in:
commit
d14bad785c
@ -25,6 +25,7 @@ unitlist = (
|
|||||||
units = {s: [u for u in unitlist if s in u] for s in squares}
|
units = {s: [u for u in unitlist if s in u] for s in squares}
|
||||||
peers = {s: {x for u in units[s] for x in u} - {s} for s in squares}
|
peers = {s: {x for u in units[s] for x in u} - {s} for s in squares}
|
||||||
|
|
||||||
|
|
||||||
def test():
|
def test():
|
||||||
"A set of unit tests."
|
"A set of unit tests."
|
||||||
assert len(squares) == 81
|
assert len(squares) == 81
|
||||||
|
Loading…
x
Reference in New Issue
Block a user