Skip to content

Commit 70ee937

Browse files
committed
Renamed folder tests/data/SimpleTable to tests/data/TimeTable
1 parent b8687b9 commit 70ee937

12 files changed

Lines changed: 9 additions & 10 deletions

tests/data/MobileCrane/crane_table.js5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ header : {
77
BaseStepSize : 0.01,
88
},
99
Simulators : {
10-
simpleTable : {source: "../SimpleTable/SimpleTable.fmu", interpolate: True},
10+
simpleTable : {source: "../TimeTable/SimpleTable.fmu", interpolate: True},
1111
mobileCrane : {source: "MobileCrane.fmu" stepSize: 0.01,
1212
pedestal.pedestalMass: 5000.0, boom.boom[0]: 20.0},
1313
},
1414
ConnectionsVariable : [
1515
["simpleTable", "outputs[0]", "mobileCrane", "pedestal.angularVelocity"],
1616
],
17-
}
17+
}

tests/data/MobileCrane/crane_table.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<BaseStepSize>0.01</BaseStepSize>
44
<Algorithm>fixedStep</Algorithm>
55
<Simulators>
6-
<Simulator name="simpleTable" source="../SimpleTable/SimpleTable.fmu" stepSize="0.01">
6+
<Simulator name="simpleTable" source="../TimeTable/SimpleTable.fmu" stepSize="0.01">
77
<InitialValues>
88
<InitialValue variable="interpolate">
99
<Boolean value="true" />
0 Bytes
Binary file not shown.
File renamed without changes.

tests/test_assertion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def test_assertion_series(asserts: Assertion, show: bool):
222222

223223

224224
def test_assertion_spec():
225-
cases = Cases(spec=Path(__file__).parent / "data" / "SimpleTable" / "test.cases")
225+
cases = Cases(spec=Path(__file__).parent / "data" / "TimeTable" / "test.cases")
226226
_c = cases.case_by_name("case1")
227227
assert _c is not None
228228
_ = _c.read_assertion(key="3@9.85", expr_descr=["x*t", "Description"])

tests/test_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def simpletable():
1818

1919

2020
def _simpletable():
21-
path = Path(__file__).parent / "data" / "SimpleTable" / "test.cases"
21+
path = Path(__file__).parent / "data" / "TimeTable" / "test.cases"
2222
assert path.exists(), "SimpleTable cases file not found"
2323
return Cases(path)
2424

tests/test_cases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
def test_cases_management():
9-
cases = Cases(Path(__file__).parent / "data" / "SimpleTable" / "test.cases")
9+
cases = Cases(Path(__file__).parent / "data" / "TimeTable" / "test.cases")
1010
assert isinstance(cases.base.act_get, dict)
1111
assert len(cases.base.act_get) > 0
1212

0 commit comments

Comments
 (0)