feat(nonlinear-static-newton-raphson): step 10 - prepared-analysis-flow-and-full-procedure

This commit is contained in:
KOKO\Mimi
2026-08-24 15:49:08 +09:00
parent 3a443e08af
commit f0f38b9803
16 changed files with 1373 additions and 223 deletions
@@ -368,6 +368,20 @@ TEST(LinearStaticCli, DefaultOutputUsesInputSiblingDerivedName) {
EXPECT_FALSE(std::filesystem::exists(directory.Path() / "results.h5"));
}
// NSNR-PROC-001: log lifecycle begins after leasing and before parse/map.
TEST(FesaApplication, OpensDerivedLogBeforeInputMapping) {
TempDirectory directory{"log-before-input"};
const auto input = directory.Path() / "missing.inp";
const auto log = directory.Path() / "missing_log.txt";
const auto result = RunApplication({input.string()});
EXPECT_EQ(result.exit_code, 3);
ExpectDiagnosticFieldOrder(result.standard_error);
ASSERT_TRUE(std::filesystem::exists(log));
EXPECT_EQ(std::filesystem::file_size(log), 0U);
}
TEST(LinearStaticCli, ReturnsEveryExactExitCodeAndOrderedDiagnostic) {
TempDirectory directory{"exit-codes"};
const auto valid_input = directory.Path() / "valid.inp";