dmime/tests: Add some tests about end-points.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
Eric Pouech 2024-01-22 17:40:19 +01:00 committed by Alexandre Julliard
parent 7d1cfb9e01
commit 8169c4d040

View file

@ -4512,6 +4512,10 @@ static void test_segment_state(void)
ok(hr == S_OK, "got %#lx\n", hr);
hr = IDirectMusicSegment_SetRepeats(segment, 0);
ok(hr == S_OK, "got %#lx\n", hr);
hr = IDirectMusicSegment_SetLoopPoints(segment, 10, 70);
ok(hr == S_OK, "got %#lx\n", hr);
hr = IDirectMusicSegment_SetLoopPoints(segment, 10, 101);
ok(hr == DMUS_E_OUT_OF_RANGE, "got %#lx\n", hr);
hr = IDirectMusicSegment_SetLoopPoints(segment, 0, 0);
ok(hr == S_OK, "got %#lx\n", hr);