Searched refs:g_sum (Results 1 – 1 of 1) sorted by relevance
791 static int g_sum = 0; variable792 static void Accumulate(int n) { g_sum += n; } in Accumulate()796 g_sum = 0; in TEST()798 EXPECT_EQ(0, g_sum); // Works for an empty container; in TEST()800 g_sum = 0; in TEST()803 EXPECT_EQ(1, g_sum); // Works for a container with one element. in TEST()805 g_sum = 0; in TEST()809 EXPECT_EQ(321, g_sum); in TEST()