Skip to content

Commit

Permalink
added tests to fileformats package
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Mar 18, 2024
1 parent da71ed8 commit 886effc
Showing 1 changed file with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import pytest
from fileformats.medimage_afni import (
OneD,
ThreeD,
R1,
All1,
Dset,
Head,
)


@pytest.xfail(reason="generate_sample_data not implemented", raises=NotImplementedError)
def test_generate_sample_oned_data():
assert isinstance(OneD.sample(), OneD)


@pytest.xfail(reason="generate_sample_data not implemented", raises=NotImplementedError)
def test_generate_sample_threed_data():
assert isinstance(ThreeD.sample(), ThreeD)


@pytest.xfail(reason="generate_sample_data not implemented", raises=NotImplementedError)
def test_generate_sample_r1_data():
assert isinstance(R1.sample(), R1)


@pytest.xfail(reason="generate_sample_data not implemented", raises=NotImplementedError)
def test_generate_sample_all1_data():
assert isinstance(All1.sample(), All1)


@pytest.xfail(reason="generate_sample_data not implemented", raises=NotImplementedError)
def test_generate_sample_dset_data():
assert isinstance(Dset.sample(), Dset)


@pytest.xfail(reason="generate_sample_data not implemented", raises=NotImplementedError)
def test_generate_sample_head_data():
assert isinstance(Head.sample(), Head)

0 comments on commit 886effc

Please sign in to comment.