30 "Expected 0 and 1, got %ld and %ld",
res,
dest );
35 "Expected 1 and 1, got %ld and %ld",
res,
dest );
45 "Expected 0 and 0, got %ld and %ld",
res,
dest );
50 "Expected -1 and -1, got %ld and %ld",
res,
dest );
55 "Expected -2 and -2, got %ld and %ld",
res,
dest );
65 "Expected 0 and 1, got %ld and %ld",
res,
dest );
70 "Expected 1 and 2, got %ld and %ld",
res,
dest );
75 "Expected 1 and -1, got %ld and %ld",
res,
dest );
85 "Expected 0 and 1, got %ld and %ld",
res,
dest );
90 "Expected 1 and 3, got %ld and %ld",
res,
dest );
95 "Expected 1 and 0, got %ld and %ld",
res,
dest );
105 "Expected -1 and -1, got %ld and %ld",
res,
dest );
110 "Expected 0 and 0, got %ld and %ld",
res,
dest );
115 "Expected 1 and 1, got %ld and %ld",
res,
dest );
#define InterlockedIncrement
#define InterlockedExchange
#define InterlockedDecrement
#define InterlockedExchangeAdd
#define InterlockedCompareExchange
static void test_InterlockedIncrement(void)
static void test_InterlockedDecrement(void)
static void test_InterlockedExchange(void)
static void test_InterlockedExchangeAdd(void)
static void test_InterlockedCompareExchange(void)