mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 20:19:26 +00:00
Add test for gamma_cdf_func to validate behavior for negative input
This commit is contained in:
@@ -360,6 +360,7 @@ mod tests {
|
|||||||
|
|
||||||
// <0 case
|
// <0 case
|
||||||
assert_eq!(gamma_pdf_func(-1.0, 1.0, 1.0), 0.0);
|
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]
|
#[test]
|
||||||
fn test_gamma_matrix() {
|
fn test_gamma_matrix() {
|
||||||
|
Reference in New Issue
Block a user