We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e515bcb commit 6028519Copy full SHA for 6028519
test/test_xbuilder.cpp
@@ -159,11 +159,11 @@ namespace xt
159
ASSERT_EQ(m_assigned(10), 15.f);
160
ASSERT_EQ(m_assigned(3), 11.5f);
161
162
- auto l3 = arange<float>(0, 1, 0.3f);
+ auto l3 = arange<float>(0, 0.99f, 0.25f);
163
decltype(l3)::shape_type expected_shape_2 = {4};
164
ASSERT_EQ(l3.shape(), expected_shape_2);
165
ASSERT_EQ(l3[{0}], 0.f);
166
- ASSERT_EQ(3.f * 0.3f, l3[{3}]);
+ ASSERT_EQ(0.25f * 3.f, l3[{3}]);
167
168
auto l4 = arange<int>(0, 10, 3);
169
ASSERT_EQ(l4.shape(), expected_shape_2);
0 commit comments