[mlpack] 22/30: Minor formatting fixes: remove extra empty lines.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Mon Dec 26 10:15:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch master
in repository mlpack.
commit 5507420cd3197f59899dbdc224d5e04c1c2ce300
Author: Ryan Curtin <ryan at ratml.org>
Date: Fri Dec 16 11:16:58 2016 -0500
Minor formatting fixes: remove extra empty lines.
---
src/mlpack/tests/cli_test.cpp | 1 -
src/mlpack/tests/prefixedoutstream_test.cpp | 3 +--
src/mlpack/tests/timer_test.cpp | 10 +---------
3 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/src/mlpack/tests/cli_test.cpp b/src/mlpack/tests/cli_test.cpp
index ce0e6bd..b06698c 100644
--- a/src/mlpack/tests/cli_test.cpp
+++ b/src/mlpack/tests/cli_test.cpp
@@ -9,7 +9,6 @@
* 3-clause BSD license along with mlpack. If not, see
* http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
-
#include <mlpack/core.hpp>
#define DEFAULT_INT 42
diff --git a/src/mlpack/tests/prefixedoutstream_test.cpp b/src/mlpack/tests/prefixedoutstream_test.cpp
index 8d4652a..b2f214f 100644
--- a/src/mlpack/tests/prefixedoutstream_test.cpp
+++ b/src/mlpack/tests/prefixedoutstream_test.cpp
@@ -8,8 +8,7 @@
* terms of the 3-clause BSD license. You should have received a copy of the
* 3-clause BSD license along with mlpack. If not, see
* http://www.opensource.org/licenses/BSD-3-Clause for more information.
- **/
-
+ */
#include <iostream>
#include <sstream>
diff --git a/src/mlpack/tests/timer_test.cpp b/src/mlpack/tests/timer_test.cpp
index c832750..545f72b 100644
--- a/src/mlpack/tests/timer_test.cpp
+++ b/src/mlpack/tests/timer_test.cpp
@@ -8,8 +8,7 @@
* terms of the 3-clause BSD license. You should have received a copy of the
* 3-clause BSD license along with mlpack. If not, see
* http://www.opensource.org/licenses/BSD-3-Clause for more information.
- **/
-
+ */
#ifndef _WIN32
#include <sys/time.h>
#endif
@@ -26,7 +25,6 @@
using namespace mlpack;
-
BOOST_AUTO_TEST_SUITE(TimerTest);
/**
@@ -35,7 +33,6 @@ BOOST_AUTO_TEST_SUITE(TimerTest);
*/
BOOST_AUTO_TEST_CASE(MultiRunTimerTest)
{
-
Timer::Start("test_timer");
// On Windows (or, at least, in Windows not using VS2010) we cannot use
@@ -76,26 +73,21 @@ BOOST_AUTO_TEST_CASE(MultiRunTimerTest)
Timer::Stop("test_timer");
BOOST_REQUIRE_GE(Timer::Get("test_timer").count(), 40000);
-
}
BOOST_AUTO_TEST_CASE(TwiceStopTimerTest)
{
-
Timer::Start("test_timer");
Timer::Stop("test_timer");
BOOST_REQUIRE_THROW(Timer::Stop("test_timer"), std::runtime_error);
-
}
BOOST_AUTO_TEST_CASE(TwiceStartTimerTest)
{
-
Timer::Start("test_timer");
BOOST_REQUIRE_THROW(Timer::Start("test_timer"), std::runtime_error);
-
}
BOOST_AUTO_TEST_SUITE_END();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list