From ddd26ed83d3ac0335562f762ced273a1d62bd959 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 23 Dec 2017 01:37:09 +0000 Subject: [Style] Updated style in files. --- tests/particlebody/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/particlebody/test.cpp') diff --git a/tests/particlebody/test.cpp b/tests/particlebody/test.cpp index 09277826..65c26d5d 100644 --- a/tests/particlebody/test.cpp +++ b/tests/particlebody/test.cpp @@ -1,5 +1,5 @@ /** --------------------------------------------------------------------------- - * @file: particlebodytest.cpp + * @file: test.cpp * * Copyright (c) 2017 Yann Herklotz Grave * MIT License, see LICENSE file for more details. @@ -26,7 +26,7 @@ double gravityAcceleration(int iterations) TEST(ParticleBody, Gravity) { - int randomItr = rand() % 10; + int randomItr = rand() % 10; double idealPosition = 0.5 * -9.81 * std::pow(randomItr, 2); ASSERT_GE(idealPosition * 0.95, gravityAcceleration(randomItr)); -- cgit