Add test for gamma_cdf_func to validate behavior for negative input

This commit is contained in:
Palash Tyagi 2025-07-08 23:21:59 +01:00
parent 61aeedbf76
commit 2cd2e24f57

View File

@ -360,6 +360,7 @@ mod tests {
// <0 case
assert_eq!(gamma_pdf_func(-1.0, 1.0, 1.0), 0.0);
assert_eq!(gamma_cdf_func(-1.0, 1.0, 1.0), 0.0);
}
#[test]
fn test_gamma_matrix() {