()
| 211 | |
| 212 | #[test] |
| 213 | fn test_design_matrix() { |
| 214 | let x = mat![ |
| 215 | 7.0, 2.0, 3.0; |
| 216 | 4.0, 8.0, 5.0 |
| 217 | ]; |
| 218 | let y = x.design_matrix(); |
| 219 | assert_eq!( |
| 220 | y.buf(), |
| 221 | &[1.0, 7.0, 2.0, 3.0, 1.0, 4.0, 8.0, 5.0] |
| 222 | ); |
| 223 | } |
| 224 | |
| 225 | #[test] |
| 226 | fn test_error() { |
nothing calls this directly
no test coverage detected