| 52 | }; |
| 53 | |
| 54 | TEST_F(ReferenceUtilTest, TransposeArray2D) { |
| 55 | auto result = ReferenceUtil::TransposeArray2D(*matrix_); |
| 56 | auto actual_literal = LiteralUtil::CreateR2FromArray2D(*result); |
| 57 | LiteralTestUtil::ExpectR2Near<float>({{1.f, 4.f}, {2.f, 5.f}, {3.f, 6.f}}, |
| 58 | actual_literal, ErrorSpec(0.0001)); |
| 59 | } |
| 60 | |
| 61 | TEST_F(ReferenceUtilTest, MatmulArray2D) { |
| 62 | Array2D<float> rhs({ |
nothing calls this directly
no test coverage detected