ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
tddft_test.h
Go to the documentation of this file.
1#ifndef __TDDFTTEST
2#define __TDDFTTEST
3#include <iostream>
4
5#include "gtest/gtest.h"
7
8extern int myprow, nprow, ictxt, mypcol, npcol;
9
10class TDDFTTEST : public testing::Test
11{
12 public:
13 static void SetUpTestCase()
14 {
15 std::cout << "\033[32m"
16 << "============================"
17 << "\033[0m" << std::endl;
18 std::cout << "\033[32m"
19 << "= TDDFT MODULE TEST START ="
20 << "\033[0m" << std::endl;
21 std::cout << "\033[32m"
22 << "============================"
23 << "\033[0m" << std::endl;
24 }
25 static void TearDownTestCase()
26 {
27 std::cout << "\033[32m"
28 << "============================"
29 << "\033[0m" << std::endl;
30 std::cout << "\033[32m"
31 << "= TDDFT MODULE TEST END ="
32 << "\033[0m" << std::endl;
33 std::cout << "\033[32m"
34 << "============================"
35 << "\033[0m" << std::endl;
36 }
37 void SetUp()
38 {
39 std::cout << "\033[32m"
40 << "[ CASE ]"
41 << "\033[0m"
42 << " ";
43 }
44 void TearDown()
45 {
46 }
47};
48
49#endif
Definition tddft_test.h:11
void SetUp()
Definition tddft_test.h:37
static void TearDownTestCase()
Definition tddft_test.h:25
static void SetUpTestCase()
Definition tddft_test.h:13
void TearDown()
Definition tddft_test.h:44
int mypcol
Definition tddft_test.h:8
int nprow
Definition tddft_test.h:8
int ictxt
Definition tddft_test.h:8
int myprow
Definition tddft_test.cpp:14
int npcol
Definition tddft_test.h:8