ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
testing.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <iostream>
11 
12 #define BOOST_TEST_MAIN
13 
14 #ifndef TEST_NAME
15 #error "TEST_NAME not defined"
16 #endif
17 
18 #define BOOST_TEST_MODULE TEST_NAME
19 
20 #include <boost/test/unit_test.hpp>
colmap::StringLeftTrim
void StringLeftTrim(std::string *str)
Definition: string.cc:178
string.h
colmap::StringContains
bool StringContains(const std::string &str, const std::string &sub_str)
Definition: string.cc:201
testing.h
colmap::StringGetAfter
std::string StringGetAfter(const std::string &str, const std::string &key)
Definition: string.cc:154
colmap::StringToLower
void StringToLower(std::string *str)
Definition: string.cc:193
colmap::StringTrim
void StringTrim(std::string *str)
Definition: string.cc:188
colmap::StringSplit
std::vector< std::string > StringSplit(const std::string &str, const std::string &delim)
Definition: string.cc:166
colmap::StringRightTrim
void StringRightTrim(std::string *str)
Definition: string.cc:183
colmap
Definition: AutomaticReconstructionController.h:17
colmap::StringReplace
std::string StringReplace(const std::string &str, const std::string &old_str, const std::string &new_str)
Definition: string.cc:140
BOOST_AUTO_TEST_CASE
BOOST_AUTO_TEST_CASE(TestStringPrintf)
Definition: string_test.cc:46
colmap::StringToUpper
void StringToUpper(std::string *str)
Definition: string.cc:197
colmap::StringStartsWith
bool StringStartsWith(const std::string &str, const std::string &prefix)
Definition: string.cc:173
colmap::StringPrintf
std::string StringPrintf(const char *format,...)
Definition: string.cc:131
TEST_STRING_INPLACE
#define TEST_STRING_INPLACE(Func, str, ref_str)
Definition: string_test.cc:39