samples/main-test.cc
changeset 150 663120712cd9
parent 131 f4fb87e77034
--- a/samples/main-test.cc	Wed Nov 01 13:00:34 2006 +0100
+++ b/samples/main-test.cc	Wed Nov 01 13:11:30 2006 +0100
@@ -1,4 +1,4 @@
-/* -*- Mode:NS3; -*- */
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
 
 #include "ns3/test.h"
 
@@ -9,24 +9,24 @@
 // declare subclass of base class Test
 class MyTest : public Test {
 public:
-    MyTest (bool ok);
-    virtual ~MyTest ();
-    virtual bool RunTests (void);
+  MyTest (bool ok);
+  virtual ~MyTest ();
+  virtual bool RunTests (void);
 private:
-    bool m_ok;
+  bool m_ok;
 };
 
 // implement MyTest
 MyTest::MyTest (bool ok)
-    : Test ("My"),
-      m_ok (ok)
+  : Test ("My"),
+    m_ok (ok)
 {}
 MyTest::~MyTest ()
 {}
 bool
 MyTest::RunTests (void)
 {
-    return m_ok;
+  return m_ok;
 }
 
 // instantiate MyTest once
@@ -36,8 +36,8 @@
 
 int main (int argc, char *argv[])
 {
-    // run tests
-    TestManager::EnableVerbose ();
-    TestManager::RunTests ();
-    return 0;
+  // run tests
+  TestManager::EnableVerbose ();
+  TestManager::RunTests ();
+  return 0;
 }