We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7a48dc commit 5bf6c6aCopy full SHA for 5bf6c6a
napari_cellseg_annotator/_tests/test_utils.py
@@ -0,0 +1,9 @@
1
+from napari_cellseg_annotator import utils
2
+import numpy as np
3
+
4
+def test_normalize_x() :
5
6
+ test_array = utils.normalize_x(np.array([0,255,127.5]))
7
+ expected = np.array([-1,1, 0])
8
+ assert np.all(test_array == expected)
9
0 commit comments