Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_landscape():
bds = np.array([[1, 1], [1, 2]])
ldsp = PersImage.to_landscape(bds)
np.testing.assert_array_equal(ldsp, [[1, 0], [1, 1]])