else if Some(FunctionArgType::VecF64) = &self.return_type {
r#"
assert!(actual.len(), expected.len(), "actual {actual} not same length as {expected}");
actual.iter().zip(expected.iter()).enumerate().for_each(|(i, (actual, expected))| {
assert!((actual - expected).abs() < 1e-5, "Assertion failed: {i}th element in actual {actual:.5} but expected {expected:.5}. Diff is more than 1e-5.");
})
"#
} else
use match statement if it helps