def test_basics(): for a, b in basic_tests: assert envi.memory.memdiff(a, b) == memdiff(a, b) # Make sure we're throwing an exception on different length strings with pytest.raises(Exception): memdiff("a", "aa")
def test_complex(): for a, b in complex_tests: assert envi.memory.memdiff(a, b) == memdiff(a, b)