2018-08-20 21:54:20 +08:00
|
|
|
/*
|
2019-02-06 19:39:14 +08:00
|
|
|
* Copyright (C) 2019 Intel Corporation
|
2018-08-20 21:54:20 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-08-20 21:54:20 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-02-06 19:39:14 +08:00
|
|
|
#include "unit_tests/aub/aub_helper_tests.inl"
|
2019-02-12 20:37:39 +08:00
|
|
|
|
|
|
|
TEST(AubHelper, GivenHwInfoWhenGetMemBankSizeIsCalledThenItReturnsCorrectValue) {
|
|
|
|
EXPECT_EQ(2 * MemoryConstants::gigaByte, AubHelper::getMemBankSize(platformDevices[0]));
|
|
|
|
}
|