mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-30 17:36:27 +02:00
Reformat tests with Black.
This commit is contained in:
parent
5406fc9cf2
commit
c69f1fdae8
3 changed files with 5 additions and 7 deletions
|
@ -24,7 +24,7 @@ def test_gradient() -> None:
|
|||
"""
|
||||
Test color picking from gradient.
|
||||
"""
|
||||
assert (
|
||||
get_gradient_color(0.5, MinMax(0, 1), [Color("black"), Color("white")])
|
||||
== Color("#7F7F7F")
|
||||
color: Color = get_gradient_color(
|
||||
0.5, MinMax(0, 1), [Color("black"), Color("white")]
|
||||
)
|
||||
assert color == Color("#7F7F7F")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue