File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import pytest
88
99import icoco
10- import icoco .utils
1110
1211
1312def test_version ():
@@ -29,23 +28,6 @@ def test_version():
2928 assert icoco .ValueType .String .name == "String"
3029
3130
32- def test_utils ():
33- """Tests utils"""
34-
35- assert len (icoco .utils .ICoCoMethods .PROBLEM ) == 4
36- assert len (icoco .utils .ICoCoMethods .TIME_STEP ) == 11
37- assert len (icoco .utils .ICoCoMethods .RESTORE ) == 3
38- assert len (icoco .utils .ICoCoMethods .IO_FIELD ) == 19
39- assert len (icoco .utils .ICoCoMethods .IO_VALUE ) == 10
40- assert len (icoco .utils .ICoCoMethods .ALL ) == 48
41-
42- assert len (icoco .utils .ICoCoMethodContext .ONLY_BEFORE_INITIALIZE ) == 3
43- assert len (icoco .utils .ICoCoMethodContext .ONLY_AFTER_INITIALIZE ) == (
44- len (icoco .utils .ICoCoMethods .ALL ) - 6 )
45- assert len (icoco .utils .ICoCoMethodContext .ONLY_INSIDE_TIME_STEP_DEFINED ) == 4
46- assert len (icoco .utils .ICoCoMethodContext .ONLY_OUTSIDE_TIME_STEP_DEFINED ) == 8
47-
48-
4931def test_static_methods ():
5032 """Tests static methods of the package"""
5133
You can’t perform that action at this time.
0 commit comments