fix: cover Local G2 window targets before splits
This commit is contained in:
@@ -116,7 +116,15 @@ Assert-True ($boundary.FirstRightLength -gt $boundary.FirstLeftLength) `
|
||||
Assert-True ($boundary.MaximumWindowLength -le 0.80 + 1e-9) `
|
||||
'No candidate window may exceed 0.80 m total length.'
|
||||
|
||||
foreach ($snapshot in @($separated, $mergeable, $partition, $boundary)) {
|
||||
$coverage = $planScenario.Invoke($null, @('InteriorCoverage'))
|
||||
Assert-True $coverage.RepresentativeTargetsFirst `
|
||||
'Preferred, minimum, and maximum balanced targets must precede asymmetric variants.'
|
||||
Assert-True $coverage.HasAsymmetricVariant `
|
||||
'Default window planning must retain a legal asymmetric variant after balanced coverage.'
|
||||
Assert-True ($coverage.FirstRegionVariantCount -le 12) `
|
||||
'Window planning must obey the configured default cap.'
|
||||
|
||||
foreach ($snapshot in @($separated, $mergeable, $partition, $boundary, $coverage)) {
|
||||
Assert-True $snapshot.ExactEnvelope 'Region envelope must equal the extrema of actual legal variants.'
|
||||
Assert-True ($snapshot.MaximumWindowLength -le 0.80 + 1e-9) `
|
||||
'MaximumWindowLengthMeters is a total, not a per-side length.'
|
||||
|
||||
Reference in New Issue
Block a user