mirror of
https://github.com/OldUnreal/libxmp.git
synced 2026-04-02 21:37:43 -07:00
25 lines
504 B
C
25 lines
504 B
C
#include "test.h"
|
|
|
|
|
|
TEST(test_prowizard_fuchs)
|
|
{
|
|
xmp_context c;
|
|
struct xmp_module_info info;
|
|
int ret;
|
|
|
|
c = xmp_create_context();
|
|
fail_unless(c != NULL, "can't create context");
|
|
ret = xmp_load_module(c, "data/lowtheme.fuchs");
|
|
fail_unless(ret == 0, "can't load module");
|
|
|
|
xmp_start_player(c, 44100, 0);
|
|
xmp_get_module_info(c, &info);
|
|
|
|
ret = compare_md5(info.md5, "f84629f27737bb62b56ee6f252149c90");
|
|
fail_unless(ret == 0, "MD5 error");
|
|
|
|
xmp_release_module(c);
|
|
xmp_free_context(c);
|
|
}
|
|
END_TEST
|