@@ -0,0 +1,315 @@
+import unittest%0A%0Aimport numpy as np%0A%0Afrom desisurvey.optimize import *%0A%0A%0Aclass TestUtils(unittest.TestCase):%0A%0A    def test_wrap_unwrap(self):%0A        x = np.linspace(0., 350., 97)%0A        for dx in (-60, 0, 60):%0A            w = wrap(x, dx)%0A            assert np.all(w %3E= dx)%0A            assert np.all(w %3C dx + 360)%0A

Add simple unit test for optimize module