-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
209170c
commit 046c343
Showing
4 changed files
with
109 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import numpy as np | ||
|
||
from careamics_napari.sample_data import n2n_sem_data, n2v_sem_data, u2os_care_data | ||
|
||
|
||
def test_n2v_sem_data(): | ||
data = n2v_sem_data() | ||
assert len(data) == 2 | ||
assert all(isinstance(d, np.ndarray) for d, _ in data) | ||
|
||
|
||
def test_n2n_sem_data(): | ||
data = n2n_sem_data() | ||
assert len(data) == 2 | ||
assert all(isinstance(d, np.ndarray) for d, _ in data) | ||
|
||
|
||
def test_u2os_care_data(): | ||
data = u2os_care_data() | ||
assert len(data) == 2 | ||
assert all(isinstance(d, np.ndarray) for d, _ in data) |