mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:19:59 +00:00
Add test for gamma_cdf_func to validate behavior for negative input
This commit is contained in:
parent
61aeedbf76
commit
2cd2e24f57
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user