chore: adopt remaining local development state
Catch-all for the intermixed residue of the unpushed otko-development work ported into this tree: combinations/console-dock/quick-guide wiring across commands, core, services, views and tests; repo-wide ruff-format normalization; README/CONTRIBUTING updates; and the toolbar default (both toolbars now open in the top area, quick guide text updated). Splitting this further would require hunk-level surgery with low confidence; the preceding commits in this branch isolate the self-contained features.
This commit is contained in:
parent
cb4bf8fccd
commit
ba783718d4
152 changed files with 3394 additions and 1651 deletions
|
|
@ -37,7 +37,7 @@ def test_concrete04_read_no_tension(qtbot) -> None: # type: ignore[no-untyped-d
|
|||
form._epsc0.setValue(-0.002)
|
||||
form._epscu.setValue(-0.005)
|
||||
form._Ec.setValue(30e9)
|
||||
form._fct.setValue(0.0) # 0 → no tension
|
||||
form._fct.setValue(0.0) # 0 → no tension
|
||||
form._et.setValue(0.0)
|
||||
form._material_id = 1
|
||||
|
||||
|
|
@ -77,9 +77,14 @@ def test_concrete04_read_with_tension(qtbot) -> None: # type: ignore[no-untyped
|
|||
def test_concrete04_populate_round_trip(qtbot) -> None: # type: ignore[no-untyped-def]
|
||||
"""populate(mat) + read() reproduces the original model object."""
|
||||
original = Concrete04(
|
||||
id=3, name="C40-Tension",
|
||||
fpc=-40e6, epsc0=-0.0022, epscu=-0.006, Ec=32e9,
|
||||
fct=2.5e6, et=8e-5,
|
||||
id=3,
|
||||
name="C40-Tension",
|
||||
fpc=-40e6,
|
||||
epsc0=-0.0022,
|
||||
epscu=-0.006,
|
||||
Ec=32e9,
|
||||
fct=2.5e6,
|
||||
et=8e-5,
|
||||
)
|
||||
|
||||
form = Concrete04Form()
|
||||
|
|
@ -102,8 +107,8 @@ def test_concrete04_accepts_ksi_values(qtbot) -> None: # type: ignore[no-untype
|
|||
"""Form must not clamp US-customary (ksi) values for fpc."""
|
||||
form = Concrete04Form()
|
||||
qtbot.addWidget(form)
|
||||
form._fpc.setValue(-6.0) # ksi
|
||||
form._Ec.setValue(3600.0) # ksi
|
||||
form._fpc.setValue(-6.0) # ksi
|
||||
form._Ec.setValue(3600.0) # ksi
|
||||
assert form._fpc.value() == pytest.approx(-6.0)
|
||||
assert form._Ec.value() == pytest.approx(3600.0)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue