Home
last modified time | relevance | path

Searched refs:g_sum (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc852 static int g_sum = 0; variable
853 static void Accumulate(int n) { g_sum += n; } in Accumulate()
857 g_sum = 0; in TEST()
859 EXPECT_EQ(0, g_sum); // Works for an empty container; in TEST()
861 g_sum = 0; in TEST()
864 EXPECT_EQ(1, g_sum); // Works for a container with one element. in TEST()
866 g_sum = 0; in TEST()
870 EXPECT_EQ(321, g_sum); in TEST()