def test_example_2(): s = "a##c" t = "#a#c" assert backspace_compare(s, t) is True
def test_example_3(): a = "a#c" t = "b" assert backspace_compare(a, t) is False
def test_example_1(): s = "ab#c" t = "ad#c" assert backspace_compare(s, t) is True
def test_two_backspace(): assert hw2.backspace_compare("a##c", "#a#c")
def test_one_backspace(): assert hw2.backspace_compare("ab#c", "ad#c")
def test_equal(): assert hw2.backspace_compare("dancing queen", "dancing queens#")
def test_empty(): assert hw2.backspace_compare("", "")
def test_false(): assert not hw2.backspace_compare("a#c", "b")