Skip to content

Commit

Permalink
add test for show_config function
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapriot committed Nov 2, 2023
1 parent cad8feb commit 611ea0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import numpy as np
import geoana
from geoana.utils import check_xyz_dim, mkvc, ndgrid
import pytest


def test_config_info():
info = geoana.show_config()
assert info['version'] == geoana.__version__


def test_mkvc():
x = np.random.rand(3, 2)
x_test = np.concatenate((x[:, 0], x[:, 1]), axis=None)
Expand Down

0 comments on commit 611ea0a

Please sign in to comment.