preserve honest tajika strength boundaries
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test_full_reading_derives_saham_datetime_from_standard_chart_args() -> None:
|
||||
source = (Path(__file__).resolve().parents[1] / "scripts" / "jyotish_engine.py").read_text(encoding="utf-8")
|
||||
section = source[source.index("# ── Step 4.8: Tajika Yogas + Sahams"):source.index("# ── Step 4.9:")]
|
||||
assert "birth_dt = _birth_datetime_from_args(args)" in section
|
||||
assert "getattr(args, 'birth_datetime'" not in section
|
||||
@@ -130,7 +130,8 @@ class TestTajikaStrengthLayers:
|
||||
for planet in ('Sun', 'Moon', 'Mars', 'Mercury', 'Jupiter', 'Venus', 'Saturn'):
|
||||
assert planet in result['harsha_bala']
|
||||
assert planet in result['panchavargiya_bala']
|
||||
assert {'score', 'max_score', 'grade', 'components'} <= set(result['combined_strength'][planet])
|
||||
assert result['panchavargiya_bala'][planet]['status'] == 'blocked'
|
||||
assert result['combined_strength'][planet]['status'] == 'blocked'
|
||||
assert result['combined_strength'][planet]['max_score'] > 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user