CPP01 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
Test.hpp ファイル

Declares a custom Test class for unit testing. [詳解]

#include <iostream>
#include <stdexcept>
#include <string>
Test.hpp の依存先関係図:
被依存関係図:

[ソースコード]

クラス

class  Test
 A custom class for performing unit tests and reporting results. [詳解]
 

マクロ定義

#define GREEN   "\033[0;32m";
 
#define RED   "\033[0;31m";
 
#define NC   "\033[0m";
 
#define MSG_ASS_FAILED   " Assertion \033[0;31mFAILED\033[0m: "
 
#define MSG_FAILED   "\033[0;31mFAILED\033[0m"
 
#define MSG_PASSED   "\033[0;32mPASSED\033[0m"
 

詳解

Declares a custom Test class for unit testing.

Test.hpp に定義があります。

マクロ定義詳解

◆ GREEN

#define GREEN   "\033[0;32m";

Test.hpp26 行目に定義があります。

◆ MSG_ASS_FAILED

#define MSG_ASS_FAILED   " Assertion \033[0;31mFAILED\033[0m: "

Test.hpp29 行目に定義があります。

◆ MSG_FAILED

#define MSG_FAILED   "\033[0;31mFAILED\033[0m"

Test.hpp30 行目に定義があります。

◆ MSG_PASSED

#define MSG_PASSED   "\033[0;32mPASSED\033[0m"

Test.hpp31 行目に定義があります。

◆ NC

#define NC   "\033[0m";

Test.hpp28 行目に定義があります。

◆ RED

#define RED   "\033[0;31m";

Test.hpp27 行目に定義があります。