tongyu0924 opened a new pull request, #1325:
URL: https://github.com/apache/mahout/pull/1325

   ### Changes
   
   - [x] Test
   
   ### Why
   
   `basis.cu` had no test coverage.
   
   ### How
   
   Add `tests/basis_encode.rs` covering:
   - Single-sample encode: first, middle, last index (f64 + f32)
   - Batch encode: multiple samples with different indices (f64 + f32)
   - Error rejection: out-of-range index, zero `state_len`, zero `num_samples`
   - Non-Linux dummy stub
   
   ## Checklist
   
   - [x] Added or updated unit tests for all changes
   - [ ] Added or updated documentation for all changes
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to