Skip to content

Commit a0a35f7

Browse files
authored
Merge branch 'main' into ahijevyc/fix-duplicate-TWO-dim-rename
2 parents a0cf4db + 9f75448 commit a0a35f7

File tree

4 files changed

+455
-400
lines changed

4 files changed

+455
-400
lines changed

test/test_mpas.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,20 @@
1818
# Fill value
1919
fv = INT_FILL_VALUE
2020

21-
def test_read_mpas():
22-
"""Tests execution of _read_mpas()"""
21+
22+
23+
def test_read_primal():
2324
mpas_primal_ugrid, _ = _read_mpas(mpas_xr_ds, use_dual=False)
25+
26+
assert "face_edge_connectivity" in mpas_primal_ugrid
27+
assert "face_node_connectivity" in mpas_primal_ugrid
28+
assert "node_edge_connectivity" in mpas_primal_ugrid
29+
assert "edge_face_connectivity" in mpas_primal_ugrid
30+
assert "node_face_connectivity" in mpas_primal_ugrid
31+
assert "edge_node_connectivity" in mpas_primal_ugrid
32+
assert "face_face_connectivity" in mpas_primal_ugrid
33+
34+
def test_read_dual():
2435
mpas_dual_ugrid, _ = _read_mpas(mpas_xr_ds, use_dual=True)
2536

2637
def test_mpas_to_grid():

0 commit comments

Comments
 (0)