Lines Matching refs:KUNIT_EXPECT_EQ
918 KUNIT_EXPECT_EQ(test, 42L, __atomic_load_n(&test_var, __ATOMIC_RELAXED)); in test_atomic_builtins()
920 KUNIT_EXPECT_EQ(test, 42L, __atomic_exchange_n(&test_var, 20, __ATOMIC_RELAXED)); in test_atomic_builtins()
921 KUNIT_EXPECT_EQ(test, 20L, test_var); in test_atomic_builtins()
927 KUNIT_EXPECT_EQ(test, tmp, 20L); in test_atomic_builtins()
928 KUNIT_EXPECT_EQ(test, test_var, 30L); in test_atomic_builtins()
932 KUNIT_EXPECT_EQ(test, tmp, 30L); in test_atomic_builtins()
933 KUNIT_EXPECT_EQ(test, test_var, 30L); in test_atomic_builtins()
935 KUNIT_EXPECT_EQ(test, 30L, __atomic_fetch_add(&test_var, 1, __ATOMIC_RELAXED)); in test_atomic_builtins()
936 KUNIT_EXPECT_EQ(test, 31L, __atomic_fetch_sub(&test_var, 1, __ATOMIC_RELAXED)); in test_atomic_builtins()
937 KUNIT_EXPECT_EQ(test, 30L, __atomic_fetch_and(&test_var, 0xf, __ATOMIC_RELAXED)); in test_atomic_builtins()
938 KUNIT_EXPECT_EQ(test, 14L, __atomic_fetch_xor(&test_var, 0xf, __ATOMIC_RELAXED)); in test_atomic_builtins()
939 KUNIT_EXPECT_EQ(test, 1L, __atomic_fetch_or(&test_var, 0xf0, __ATOMIC_RELAXED)); in test_atomic_builtins()
940 KUNIT_EXPECT_EQ(test, 241L, __atomic_fetch_nand(&test_var, 0xf, __ATOMIC_RELAXED)); in test_atomic_builtins()
941 KUNIT_EXPECT_EQ(test, -2L, test_var); in test_atomic_builtins()