()
| 86 | // Test GEMV with one matrix |
| 87 | #[test] |
| 88 | fn test_gemv_ones() { |
| 89 | let matrix = one_matrix(VECTOR_SIZE); |
| 90 | let vector = [1.0; VECTOR_SIZE]; |
| 91 | let result = gemv::gemv(&matrix, &vector); |
| 92 | let expected_result: [f32; VECTOR_SIZE] = [VECTOR_SIZE as f32; VECTOR_SIZE]; |
| 93 | assert_eq!(result, expected_result); |
| 94 | } |
| 95 | |
| 96 | // Test GEMM with one matrix |
| 97 | #[test] |
nothing calls this directly
no test coverage detected