static uint32_t offset_0(const Shape &, uint32_t, uint32_t, uint32_t, uint32_t) { return 0; }
static uint32_t offset_1(const Shape &, uint32_t, uint32_t, uint32_t, uint32_t) { return 1; }
-TEST(ADT_FEATURE_LAYOUT, ctor)
+TEST(ADT_KERNEL_LAYOUT, ctor)
{
Layout l{offset_0};
ASSERT_EQ(l.offset(Shape{4, 3, 6, 5}, 1, 1, 1, 1), 0);
}
-TEST(ADT_FEATURE_LAYOUT, copy)
+TEST(ADT_KERNEL_LAYOUT, copy)
{
Layout orig{offset_0};
Layout copy{offset_1};
ASSERT_EQ(copy.offset(Shape{4, 3, 6, 5}, 1, 1, 1, 1), 0);
}
-TEST(ADT_FEATURE_LAYOUT, move)
+TEST(ADT_KERNEL_LAYOUT, move)
{
Layout orig{offset_0};
Layout move{offset_1};