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

Function test_task_81

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

Source from the content-addressed store, hash-verified

803 assert are_two_images_same(rotated_image,ref_image)
804
805def test_task_81(trajectory):
806 #print("[ERROR]This test has error!!!!!!")
807 image_path="./output/81.png"
808 ref_path="./data/81.jpeg"
809 assert os.path.exists(image_path)
810 image = Image.open(image_path)
811 ref_image = Image.open(ref_path)
812 rotated_image = image.rotate(180, expand=True)
813 assert are_two_images_same(rotated_image,ref_image)
814
815def test_task_82(trajectory):
816 #print("[ERROR]This test has error!!!!!!")

Callers

nothing calls this directly

Calls 1

are_two_images_sameFunction · 0.85

Tested by

no test coverage detected