(trajectory)
| 1149 | return image.mode == 'L' |
| 1150 | |
| 1151 | def test_task_100(trajectory): |
| 1152 | image_path = "./output/100.png" |
| 1153 | ref_path = "./data/100.jpeg" |
| 1154 | |
| 1155 | # 检查目标图像是否是灰度图 |
| 1156 | is_image_grayscale = is_grayscale(image_path) |
| 1157 | |
| 1158 | # 断言目标图像是灰度图 |
| 1159 | assert is_image_grayscale, "The image is not a grayscale image." |
| 1160 | |
| 1161 | |
| 1162 | def test_task_101(trajectory): |
nothing calls this directly
no test coverage detected