Skip to content

Commit 28608a6

Browse files
Add framework for tests
1 parent 55edf8b commit 28608a6

2 files changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import pytest
2+
3+
4+
def test_bpx_to_cidemod_conversion():
5+
# Check that the conversion made by the updated modelmapper
6+
# matches the original original
7+
pass
8+
9+
10+
def test_bpx_to_battmo_conversion():
11+
# Check that the conversion made by the updated modelmapper
12+
# matches the original original
13+
pass
14+
15+
16+
def test_cidemod_to_battmo_conversion():
17+
# Check that the conversion made by the updated modelmapper
18+
# matches the original original
19+
pass
20+
21+
22+
def test_cidemod_to_bpx_conversion():
23+
# Check that the conversion made by the updated modelmapper
24+
# matches the original original
25+
pass
26+
27+
28+
def test_battmo_to_bpx_conversion():
29+
# Check that the conversion made by the updated modelmapper
30+
# matches the original original
31+
pass
32+
33+
34+
def test_battmo_to_cidemod_conversion():
35+
# Check that the conversion made by the updated modelmapper
36+
# matches the original original
37+
pass

test/test_validation.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import pytestx
2+
3+
4+
def test_validate_bpx():
5+
# Check that the generated bpx files run in pybamm
6+
pass
7+
8+
9+
def test_validate_cidemod():
10+
# Check that the generated cidemod files run in cidemod
11+
pass
12+
13+
14+
def test_validate_battmo():
15+
# Check that the generated battmo files run in battmo
16+
pass

0 commit comments

Comments
 (0)