Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / tests / unit / inference_engine_tests / debug_tests.cpp
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4
5 #include <gtest/gtest.h>
6 #include "debug.h"
7 #include <string>
8
9 class DebugTests : public ::testing::Test {
10 protected:
11     virtual void TearDown() {
12     }
13
14     virtual void SetUp() {
15     }
16
17 public:
18
19 };
20
21 TEST_F(DebugTests, tolowerWorksWithEmptyString) {
22     std::string str = "";
23     ASSERT_STREQ("", InferenceEngine::details::tolower(str).c_str());
24 }
25
26 TEST_F(DebugTests, shouldConvertToLowerCase) {
27     std::string str = "Hello, World!1";
28     ASSERT_STREQ("hello, world!1", InferenceEngine::details::tolower(str).c_str());
29 }