use crate::tests::bc::golden::bc_golden_test;
#[test]
fn test_x_and_true() {
bc_golden_test("and_or_x_and_true", "def test(x): return x and True");
}
#[test]
fn test_x_and_false() {
bc_golden_test("and_or_x_and_false", "def test(x): return x and False");
}
#[test]
fn test_x_or_true() {
bc_golden_test("and_or_x_or_true", "def test(x): return x or True");
}
#[test]
fn test_x_or_false() {
bc_golden_test("and_or_x_or_false", "def test(x): return x or False");
}
#[test]
fn test_true_and_x() {
bc_golden_test("and_or_true_and_x", "def test(x): return True and x");
}
#[test]
fn test_false_and_x() {
bc_golden_test("and_or_false_and_x", "def test(x): return False and x");
}
#[test]
fn test_true_or_x() {
bc_golden_test("and_or_true_or_x", "def test(x): return True or x");
}
#[test]
fn test_false_or_x() {
bc_golden_test("and_or_false_or_x", "def test(x): return False or x");
}