update test_sfont_loading to call fluid_is_soundfont()

This commit is contained in:
derselbst 2018-12-09 10:35:21 +01:00
parent ba9092ef98
commit dde52c35dd
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ int main(void)
// no sfont loaded // no sfont loaded
TEST_ASSERT(fluid_synth_sfcount(synth) == 0); TEST_ASSERT(fluid_synth_sfcount(synth) == 0);
TEST_ASSERT(fluid_is_soundfont(TEST_SOUNDFONT) == TRUE);
// load a sfont to synth // load a sfont to synth
TEST_SUCCESS(id = fluid_synth_sfload(synth, TEST_SOUNDFONT, 1)); TEST_SUCCESS(id = fluid_synth_sfload(synth, TEST_SOUNDFONT, 1));
// one sfont loaded // one sfont loaded