2018-04-23 22:08:57 +08:00
|
|
|
/*
|
2019-02-27 18:39:32 +08:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-09-18 15:11:08 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
2018-04-23 22:08:57 +08:00
|
|
|
|
|
|
|
#include "runtime/os_interface/linux/allocator_helper.h"
|
|
|
|
|
2019-02-27 18:39:32 +08:00
|
|
|
#include "gtest/gtest.h"
|
|
|
|
|
2018-04-23 22:08:57 +08:00
|
|
|
TEST(AllocatorHelper, givenExpectedSizeToMapWhenGetSizetoMapCalledThenExpectedValueReturned) {
|
2019-03-26 18:59:46 +08:00
|
|
|
EXPECT_EQ(1 * 1024 * 1024u, NEO::getSizeToMap());
|
2018-04-23 22:08:57 +08:00
|
|
|
}
|