reformat unittest tree with clang-format
This commit is contained in:
@ -20,9 +20,9 @@
|
||||
#include "input.h"
|
||||
#include "region.h"
|
||||
|
||||
#include "../testing/core.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "../testing/core.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
@ -74,7 +74,7 @@ protected:
|
||||
END_HIDE_OUTPUT();
|
||||
|
||||
atomic_system();
|
||||
|
||||
|
||||
BEGIN_HIDE_OUTPUT();
|
||||
command("variable molid atom floor(id/4)+1");
|
||||
command("variable charge atom 2.0*sin(PI/32*id)");
|
||||
@ -245,7 +245,7 @@ TEST_F(GroupTest, Molecular)
|
||||
ASSERT_EQ(group->count(group->find("three")), 15);
|
||||
ASSERT_DOUBLE_EQ(group->mass(group->find("half")), 40);
|
||||
ASSERT_DOUBLE_EQ(group->mass(group->find("half"), domain->find_region("top")), 10);
|
||||
ASSERT_NEAR(group->charge(group->find("top")), 0,1.0e-14);
|
||||
ASSERT_NEAR(group->charge(group->find("top")), 0, 1.0e-14);
|
||||
ASSERT_DOUBLE_EQ(group->charge(group->find("right"), domain->find_region("top")), 0);
|
||||
|
||||
TEST_FAILURE(".*ERROR: Illegal group command.*", command("group three include xxx"););
|
||||
|
||||
Reference in New Issue
Block a user