1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
from torch_geometric.testing import onlyFullTest, onlyOnline
@onlyOnline
@onlyFullTest
def test_suite_sparse_dataset(get_dataset):
dataset = get_dataset(group='DIMACS10', name='citationCiteseer')
assert str(dataset) == ('SuiteSparseMatrixCollection('
'group=DIMACS10, name=citationCiteseer)')
assert len(dataset) == 1
@onlyOnline
@onlyFullTest
def test_illc1850_suite_sparse_dataset(get_dataset):
dataset = get_dataset(group='HB', name='illc1850')
assert str(dataset) == ('SuiteSparseMatrixCollection('
'group=HB, name=illc1850)')
assert len(dataset) == 1
|