From 1d51af0c0e4dcfeaafad06927a2752b3bc9d5507 Mon Sep 17 00:00:00 2001 From: madcpf Date: Fri, 29 Sep 2023 13:52:33 -0700 Subject: [PATCH] fix formats --- unitary/examples/quantum_chinese_chess/enums_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unitary/examples/quantum_chinese_chess/enums_test.py b/unitary/examples/quantum_chinese_chess/enums_test.py index f5b5ee48..ff100bf7 100644 --- a/unitary/examples/quantum_chinese_chess/enums_test.py +++ b/unitary/examples/quantum_chinese_chess/enums_test.py @@ -13,6 +13,7 @@ # limitations under the License. from unitary.examples.quantum_chinese_chess.enums import Piece, Language + def test_piece_type_of(): assert Piece.type_of("s") == Piece.Type.SOLDIER assert Piece.type_of("S") == Piece.Type.SOLDIER @@ -21,7 +22,7 @@ def test_piece_type_of(): assert Piece.type_of(".") == Piece.Type.EMPTY assert Piece.type_of("b") == None - + def test_piece_symbol(): p0 = Piece(Piece.Type.CANNON, Piece.Color.RED) assert p0.red_symbol() == "C"