@@ -53,12 +53,12 @@ def test_instantiation(self) -> None:
53
53
"""Test that the class can be instantiated."""
54
54
constants = DummyConstants ()
55
55
assert constants .COVER_INCREASE_FOR_UNEVEN_SURFACE == 5
56
- assert {
56
+ assert constants . COVER_INCREASE_FOR_ABRASION_CLASS == {
57
57
"NA" : 0 ,
58
58
"XM1" : 5 ,
59
59
"XM2" : 10 ,
60
60
"XM3" : 15 ,
61
- } == constants . COVER_INCREASE_FOR_ABRASION_CLASS
61
+ }
62
62
assert constants .DEFAULT_DELTA_C_DEV == 5
63
63
assert constants .CODE_SUFFIX == "DUMMY"
64
64
assert constants .minimum_cover_with_regard_to_casting_surface (0 , CastingSurface .PERMANENTLY_EXPOSED ) == 0
@@ -72,12 +72,12 @@ def test_instantiation(self) -> None:
72
72
"""Test that the class can be instantiated."""
73
73
constants = NominalConcreteCoverConstants2011C2 ()
74
74
assert constants .COVER_INCREASE_FOR_UNEVEN_SURFACE == 5
75
- assert {
75
+ assert constants . COVER_INCREASE_FOR_ABRASION_CLASS == {
76
76
AbrasionClass .NA : 0 ,
77
77
AbrasionClass .XM1 : 5 ,
78
78
AbrasionClass .XM2 : 10 ,
79
79
AbrasionClass .XM3 : 15 ,
80
- } == constants . COVER_INCREASE_FOR_ABRASION_CLASS
80
+ }
81
81
assert constants .DEFAULT_DELTA_C_DEV == 10
82
82
83
83
def test_instantiation_with_custom_values (self ) -> None :
@@ -94,12 +94,12 @@ def test_instantiation_with_custom_values(self) -> None:
94
94
def test_post_init (self ) -> None :
95
95
"""Test that the post-init method sets default values."""
96
96
constants = NominalConcreteCoverConstants2011C2 ()
97
- assert {
97
+ assert constants . COVER_INCREASE_FOR_ABRASION_CLASS == {
98
98
AbrasionClass .NA : 0 ,
99
99
AbrasionClass .XM1 : 5 ,
100
100
AbrasionClass .XM2 : 10 ,
101
101
AbrasionClass .XM3 : 15 ,
102
- } == constants . COVER_INCREASE_FOR_ABRASION_CLASS
102
+ }
103
103
104
104
@pytest .mark .parametrize (
105
105
("c_min_dur" , "casting_surface" , "expected_result" ),
0 commit comments