Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Cool everything working!
Browse files Browse the repository at this point in the history
  • Loading branch information
jameschapman19 committed Mar 3, 2022
1 parent 7ab800f commit b847e2e
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions multiviewdata/test/test_outputs.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
import os

from multiviewdata.torchdatasets import NoisyMNISTDataset


def test_noisymnist():
from multiviewdata.torchdatasets import NoisyMNISTDataset
a = NoisyMNISTDataset(os.getcwd(), download=True)[0]
assert "index" in a
assert "views" in a

def test_tangledmnist():
from multiviewdata.torchdatasets import TangledMNISTDataset
a = TangledMNISTDataset(os.getcwd(), download=True)[0]
assert "index" in a
assert "views" in a

def test_splitmnist():
from multiviewdata.torchdatasets import SplitMNISTDataset
a = SplitMNISTDataset(os.getcwd(), download=True)[0]
assert "index" in a
assert "views" in a

def test_mfeat():
from multiviewdata.torchdatasets import MFeatDataset
a = MFeatDataset(os.getcwd(), download=True)[0]
assert "index" in a
assert "views" in a

0 comments on commit b847e2e

Please sign in to comment.