(trajectory)
| 1467 | return audio.info.length * 1000 # 持续时间以毫秒为单位 |
| 1468 | |
| 1469 | def test_task_150(trajectory): |
| 1470 | audio_path = "./output/150.mp3" |
| 1471 | ref_path = "./data/Ghostrifter Official - Serenity.mp3" |
| 1472 | |
| 1473 | audio_duration = get_mp3_duration(audio_path) |
| 1474 | ref_audio_duration = get_mp3_duration(ref_path) |
| 1475 | |
| 1476 | assert audio_duration < ref_audio_duration |
| 1477 | |
| 1478 | |
| 1479 | def test_task_151(trajectory): |
nothing calls this directly
no test coverage detected