fn check_001_0_a_local_normals(
    env: &cli_test::Environment,
    expected_outfile: &Path,
) -> Result<()> {
    CliTest::cargo_binary(env, "rsp2-dynmat-at-q")
        .arg("-c").arg(resource("dynmat-at-q/settings.yaml"))
        .arg("-c").arg(resource("dynmat-at-q/kc-local-normals.yaml"))
        .arg(resource("dynmat-at-q/001-0-a.structure"))
        .arg("--qpoint").arg("0 0 0")
        .arg("-o").arg("dynmat.npz")
        .check_file::<filetypes::Dynmat>(
            "dynmat.npz".as_ref(),
            expected_outfile.as_ref(),
            filetypes::DynmatTolerances {
                rel_tol: 1e-5,
                abs_tol: 1e-7,
            },
        )
        .run()
}
// The workflow to update the test outputs is described in tests/dynmat-at-q.rs.
The workflow to update the test outputs is described in tests/dynmat-at-q.rs.
The workflow to update the test outputs is described in tests / dynmat - at - q . rs .
fn check_001_0_a_local_normals(
    env: &cli_test::Environment,
    expected_outfile: &Path,
) -> Result<()> {
    CliTest::cargo_binary(env, "rsp2-dynmat-at-q")
        .arg("-c").arg(resource("dynmat-at-q/settings.yaml"))
        .arg("-c").arg(resource("dynmat-at-q/kc-local-normals.yaml"))
        .arg(resource("dynmat-at-q/001-0-a.structure"))
        .arg("--qpoint").arg("0 0 0")
        .arg("-o").arg("dynmat.npz")
        .check_file::<filetypes::Dynmat>(
            "dynmat.npz".as_ref(),
            expected_outfile.as_ref(),
            filetypes::DynmatTolerances {
                rel_tol: 1e-5,
                abs_tol: 1e-7,
            },
        )
        .run()
}
fn check_001_0_a_local_normals ( env : & cli_test :: Environment , expected_outfile : & Path , ) -> Result < ( ) > { CliTest :: cargo_binary ( env , " " ) . arg ( " " ) . arg ( resource ( " " ) ) . arg ( " " ) . arg ( resource ( " " ) ) . arg ( resource ( " " ) ) . arg ( " " ) . arg ( " " ) . arg ( " " ) . arg ( " " ) . check_file :: < filetypes :: Dynmat > ( " " . as_ref ( ) , expected_outfile . as_ref ( ) , filetypes :: DynmatTolerances { rel_tol : 1e-5 , abs_tol : 1e-7 , } , ) . run ( ) }
The workflow to update the test outputs is described in tests/dynmat-at-q.rs.
The workflow to update the test outputs is described in tests / dynmat - at - q . rs .
env
&cli_test::Environment
expected_outfile
&Path
env
&cli_test::Environment
expected_outfile
&Path