Skip to content

Commit c26e2df

Browse files
committed
a test
1 parent 041dba7 commit c26e2df

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
author='Michel Pelletier, James Kitchen, Erik Welch',
99
cffi_modules=["suitesparse/graphblas/build.py:ffibuilder"],
1010
install_requires=["cffi>=1.0.0"],
11+
setup_requires=["cffi>=1.0.0", "pytest-runner"],
12+
tests_require=["pytest"],
1113
)
1214

tests/test_package.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from suitesparse.graphblas import lib, ffi
2+
3+
def test_matrix_existence():
4+
assert hasattr(lib, "GrB_Matrix")

0 commit comments

Comments
 (0)