Reorganization directory structure [2/n]

Change-Id: I47962d17d755e80dcd9476e1ed75560f433f6115
This commit is contained in:
kamdiedrich
2020-02-23 09:03:33 +01:00
committed by Jaroslaw Chodor
parent d015d3633f
commit e8852a68c4
1292 changed files with 171 additions and 142 deletions

View File

@@ -0,0 +1,25 @@
/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "core/helpers/array_count.h"
#include "gtest/gtest.h"
namespace NEO {
TEST(ArrayCountTests, arrayCount) {
int a[10];
EXPECT_EQ(10u, arrayCount(a));
}
TEST(ArrayCountTests, isInRange) {
int a[10];
EXPECT_TRUE(isInRange(1, a));
EXPECT_FALSE(isInRange(10, a));
}
} // namespace NEO