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

Function test_task_82

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

Source from the content-addressed store, hash-verified

813 assert are_two_images_same(rotated_image,ref_image)
814
815def test_task_82(trajectory):
816 #print("[ERROR]This test has error!!!!!!")
817 image_path="./output/81.png"
818 ref_path="./data/81.jpeg"
819 assert os.path.exists(image_path)
820 image = Image.open(image_path)
821 ref_image = Image.open(ref_path)
822 rotated_image = image.rotate(180, expand=True)
823 assert are_two_images_same(rotated_image,ref_image)
824
825def test_task_83(trajectory):
826 image_paths = ["./output/83_1.png", "./output/83_2.png", "./output/83_3.png", "./output/83_4.png"]

Callers

nothing calls this directly

Calls 1

are_two_images_sameFunction · 0.85

Tested by

no test coverage detected