Home | History | Annotate | Download | only in tests

Lines Matching refs:fn

22 template <typename Fn>
23 static void TestSigSet1(Fn fn) {
27 ASSERT_EQ(-1, fn(set_ptr));
33 ASSERT_EQ(0, fn(&set));
37 template <typename Fn>
38 static void TestSigSet2(Fn fn) {
42 ASSERT_EQ(-1, fn(set_ptr, SIGSEGV));
63 ASSERT_EQ(-1, fn(&set, 0));
68 ASSERT_EQ(-1, fn(&set, max_signal + 1));
73 ASSERT_EQ(0, fn(&set, min_signal));
75 ASSERT_EQ(0, fn(&set, max_signal));