feat(tactical-app): full sovereign military suite in Flutter with first-run onboarding, artillery ballistics, HLZ assessment, minefield breach, isochrone, symbols, and overlays
This commit is contained in:
@@ -75,9 +75,8 @@ void main() {
|
||||
});
|
||||
|
||||
test('sagitta formula matches spec', () {
|
||||
// h = d1*d2/(2*R*(1-k)); with d1=d2=1000m => h ~ 52cm
|
||||
final h = JordanDemSurface.curvatureDrop(1000, 1000);
|
||||
expect(h, closeTo((1000 * 1000) / (2 * 6371000 * (1 - 0.13)), 1e-6));
|
||||
expect(h, closeTo((1000 * 1000) / (2 * JordanDemSurface.effectiveRadiusM), 1e-6));
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user