Skip to content

Commit ad69848

Browse files
committed
Adjust to new test style
1 parent e54152b commit ad69848

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

test/x86/sse4.2.c

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@
2525
#include <test/x86/test-sse2.h>
2626
#include <simde/x86/sse4.2.h>
2727

28-
static MunitResult
29-
test_simde_mm_cmpestra_ranges_8(const MunitParameter params[], void* data) {
30-
(void) params;
31-
(void) data;
32-
28+
static int
29+
test_simde_mm_cmpestra_ranges_8(SIMDE_MUNIT_TEST_ARGS) {
3330
const struct {
3431
simde__m128i a;
3532
int la;
@@ -51,12 +48,11 @@ test_simde_mm_cmpestra_ranges_8(const MunitParameter params[], void* data) {
5148
};
5249

5350
for (size_t i = 0 ; i < (sizeof(test_vec) / sizeof(test_vec[0])); i++) {
54-
int r;
55-
r = simde_mm_cmpestra(test_vec[i].a, test_vec[i].la, test_vec[i].b, test_vec[i].lb, 36);
56-
munit_assert_int(r, ==, test_vec[i].r);
51+
int r = simde_mm_cmpestra(test_vec[i].a, test_vec[i].la, test_vec[i].b, test_vec[i].lb, 36);
52+
simde_assert_equal_i(r, test_vec[i].r);
5753
}
5854

59-
return MUNIT_OK;
55+
return 0;
6056
}
6157

6258
static int

0 commit comments

Comments
 (0)