feat(python): implement python bindings for all components and solvers
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
//! - AC #4: Backward compatibility — no freezing by default
|
||||
|
||||
use approx::assert_relative_eq;
|
||||
use entropyk_components::{Component, ComponentError, JacobianBuilder, ResidualVector, SystemState};
|
||||
use entropyk_components::{
|
||||
Component, ComponentError, JacobianBuilder, ResidualVector, SystemState,
|
||||
};
|
||||
use entropyk_solver::{
|
||||
solver::{JacobianFreezingConfig, NewtonConfig, Solver},
|
||||
System,
|
||||
@@ -370,5 +372,8 @@ fn test_jacobian_freezing_already_converged_at_initial_state() {
|
||||
let result = solver.solve(&mut sys);
|
||||
assert!(result.is_ok(), "Should converge: {:?}", result.err());
|
||||
let converged = result.unwrap();
|
||||
assert_eq!(converged.iterations, 0, "Should be converged at initial state");
|
||||
assert_eq!(
|
||||
converged.iterations, 0,
|
||||
"Should be converged at initial state"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user