Lines Matching refs:test_cpp_expr_source
1023 def test_cpp_expr_source(expr, expected): function
1084 test_cpp_expr_source("0", "0")
1085 test_cpp_expr_source("1", "1")
1086 test_cpp_expr_source("1 && 1", "1 && 1")
1087 test_cpp_expr_source("1 && 0", "1 && 0")
1088 test_cpp_expr_source("0 && 1", "0 && 1")
1089 test_cpp_expr_source("0 && 0", "0 && 0")
1090 test_cpp_expr_source("1 || 1", "1 || 1")
1091 test_cpp_expr_source("1 || 0", "1 || 0")
1092 test_cpp_expr_source("0 || 1", "0 || 1")
1093 test_cpp_expr_source("0 || 0", "0 || 0")
1094 test_cpp_expr_source("EXAMPLE", "EXAMPLE")
1095 test_cpp_expr_source("EXAMPLE - 3", "EXAMPLE - 3")
1096 test_cpp_expr_source("defined(EXAMPLE)", "defined(EXAMPLE)")
1097 test_cpp_expr_source("defined EXAMPLE", "defined(EXAMPLE)")
1098 test_cpp_expr_source("A == 1 || defined(B)", "A == 1 || defined(B)")