Lines Matching refs:test_cpp_expr_source
855 def test_cpp_expr_source(expr, expected): function
944 test_cpp_expr_source("0", "0")
945 test_cpp_expr_source("1", "1")
946 test_cpp_expr_source("1 && 1", "1 && 1")
947 test_cpp_expr_source("1 && 0", "1 && 0")
948 test_cpp_expr_source("0 && 1", "0 && 1")
949 test_cpp_expr_source("0 && 0", "0 && 0")
950 test_cpp_expr_source("1 || 1", "1 || 1")
951 test_cpp_expr_source("1 || 0", "1 || 0")
952 test_cpp_expr_source("0 || 1", "0 || 1")
953 test_cpp_expr_source("0 || 0", "0 || 0")
954 test_cpp_expr_source("EXAMPLE", "EXAMPLE")
955 test_cpp_expr_source("EXAMPLE - 3", "EXAMPLE - 3")
956 test_cpp_expr_source("defined(EXAMPLE)", "defined(EXAMPLE)")
957 test_cpp_expr_source("defined EXAMPLE", "defined(EXAMPLE)")
958 test_cpp_expr_source("A == 1 || defined(B)", "A == 1 || defined(B)")