-
Notifications
You must be signed in to change notification settings - Fork 2
/
25083.py
32 lines (22 loc) · 840 Bytes
/
25083.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# [ 백준 ] 25083번: 새싹
def solution() -> None:
print(" ,r\'\"7")
print("r`-_ ,\' ,/")
print(" \\. \". L_r\'")
print(" `~\\/")
print(" |")
print(" |")
if __name__ == "__main__":
from io import StringIO
from unittest.mock import patch
def test_example_case(input: list[int]):
with patch("builtins.input", side_effect=input):
with patch("sys.stdout", new_callable=StringIO) as test_stdout:
solution()
return test_stdout.getvalue()
case: dict[str, list[str] | str] = {
"input": [],
"output": " ,r\'\"7\nr`-_ ,\' ,/\n \\. \". L_r\'\n `~\\/\n |\n |"
}
output: str = case["output"]
assert f"{output}\n" == test_example_case(input=case["input"])