1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#include <helpers.h> int main() { int result1; if (1) { result1 = 12; } else { result1 = 34; } ASSERT_EQ(12, result1); int result2; if (1 + 1 != 2) { result2 = 12; } else { result2 = 34; } ASSERT_EQ(34, result2); }