MCPcopy Create free account
hub / github.com/Mercury7353/PyBench / test_task_79

Function test_task_79

data/unit_test/tests.py:783–793  ·  view source on GitHub ↗
(trajectory)

Source from the content-addressed store, hash-verified

781 assert height==224
782
783def test_task_79(trajectory):
784 image_path="./output/79.png"
785 # 检查文件是否存在
786 #print("Check",os.path.exists(image_path))
787 assert os.path.exists(image_path)
788 with Image.open(image_path) as img:
789 #print("In")
790 width, height = img.size
791 #print("AAA",width, height)
792 assert width==1000
793 assert height==500
794
795def test_task_80(trajectory):
796 print("[ERROR]This test has error!!!!!!")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected