feat: preserve EM planner segment boundaries

This commit is contained in:
梁薄云
2026-08-03 22:27:00 +08:00
parent b326431d63
commit e492e1610a
8 changed files with 407 additions and 4 deletions
@@ -15,4 +15,10 @@ internal static class Verification
if (Math.Abs(expected - actual) > 1e-12d)
throw new InvalidOperationException(name + " expected " + expected + " but was " + actual + ".");
}
public static void True(bool condition, string name)
{
if (!condition)
throw new InvalidOperationException(name + " was false.");
}
}