Test of embedShift method, of class ShiftedVec.
()
| 116 | * Test of embedShift method, of class ShiftedVec. |
| 117 | */ |
| 118 | @Test |
| 119 | public void testEmbedShift() |
| 120 | { |
| 121 | System.out.println("embedShift"); |
| 122 | |
| 123 | ShiftedVec a = new ShiftedVec(a_base, shift_a); |
| 124 | |
| 125 | a.embedShift(); |
| 126 | |
| 127 | assertEquals(0.0, a.getShift(), 0.0); |
| 128 | |
| 129 | assertTrue(a.getBase().equals(a_dense, 1e-10)); |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Test of length method, of class ShiftedVec. |
nothing calls this directly
no test coverage detected