Commit a5f2dba
Fix unit test for initialize_q_batch (#169)
Summary:
The `test_initialize_q_batch_largeZ` test didn't actually test the new codepath (see code coverage results), since with `n=5` the whole logic gets short-circuited and `X` is returned. This fixes this with a proper test, getting back to full coverage.
Pull Request resolved: #169
Reviewed By: bkarrer
Differential Revision: D15700751
Pulled By: Balandat
fbshipit-source-id: 708bc6309fbc8a42ebd65f2ec5b77b644dfc10651 parent 5d8e818 commit a5f2dba
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
99 | 96 | | |
100 | 97 | | |
101 | 98 | | |
| |||
0 commit comments