[cluttermm] test-point-class: Some whitespace fixes.



commit 068ea72ed1480a2e61a54a9cb711561a05d36be4
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Mar 13 11:09:27 2014 +0100

    test-point-class: Some whitespace fixes.

 tests/test-point-class.cc |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/tests/test-point-class.cc b/tests/test-point-class.cc
index 8a0d1e3..37dc7ab 100644
--- a/tests/test-point-class.cc
+++ b/tests/test-point-class.cc
@@ -11,9 +11,9 @@ int main(int argc, char** argv)
   Clutter::Point point0(0, 0);
   Clutter::Point point1(8, 15);
 
-  std::cout<<"Initialisation: point0 = "<<point0.get_x()<<
-    "/ "<<point0.get_y()<<std::endl;
-  std::cout<<"and point1 = "<<point1.get_x()<<"/ "<<point1.get_y()<<std::endl;
+  std::cout << "Initialisation: point0 = " << point0.get_x() <<
+    "/ " << point0.get_y() << std::endl;
+  std::cout << "and point1 = " << point1.get_x() << "/ " << point1.get_y() << std::endl;
 
   float x_dist(0);
   float y_dist(0);
@@ -49,7 +49,8 @@ int main(int argc, char** argv)
   if(comp_point == point1){
     std::cout << "Points equal." << std::endl;
   }
-  else{
+  else
+  {
     std::cout<< "Points not equal: comp = " << comp_point.get_x() <<
     "/" << comp_point.get_y() << " vs " <<
     point1.get_x() << "/" << point1.get_y() << std::endl;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]