#!/usr/bin/env python

from numpy import all, allclose, array, float32, max

from .. import interp


def test_interp2():
    x = array([
        [0, 1, 0],
        [1, 1, 1],
        [0, 1, 0],
    ], dtype=float32)
    y = interp._interp2(1.0, x)
    assert allclose(x, y)


if __name__ == '__main__':
    pass

@@ -37,13 +37,8 @@
 port
- all,
  all
@@ -62,13 +62,8 @@
 at32
-, max
 %0A%0Afr

Remove unused imports.