Add macro M_GET_AT.

This commit is contained in:
Patrick Pelissier committed 2018-07-04 17:39:03 +02:00
1 parent e23616169b
commit 8dafe3b7a6
3 files changed
+26

No files matched your search

+3
View File
@@ -120,6 +120,9 @@ static void test_return(void)
assert (M_RET_ARG2(0, 1, 0));
assert (M_RET_ARG3(0, 0, 1, 0));
assert (M_RET_ARG27(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ,0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0));
assert (M_GET_AT((0,1,0),1));
assert (M_GET_AT((1,0,0),0));
assert (M_GET_AT((0,0,0,1),3));
}
static void test_invert(void)