User Guide
test_utils.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2023 Blue Brain Project, EPFL.
3
* See the top-level LICENSE file for details.
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
7
8
#pragma once
9
10
#include <string>
11
12
namespace
nmodl
{
13
namespace
test_utils {
14
15
std::string
reindent_text
(
const
std::string& text,
int
indent_level = 0);
16
17
}
// namespace test_utils
18
}
// namespace nmodl
nmodl::test_utils::reindent_text
std::string reindent_text(const std::string &text, int indent_level)
Reindent nmodl text for text-to-text comparison.
Definition:
test_utils.cpp:53
nmodl
encapsulates code generation backend implementations
Definition:
ast_common.hpp:26
test
unit
utils
test_utils.hpp