test/lgf_test.cc
branch1.1
changeset 761 f1398882a928
parent 756 54464584b157
child 765 2b47dbd6612c
     1.1 --- a/test/lgf_test.cc	Fri Aug 05 09:33:42 2011 +0200
     1.2 +++ b/test/lgf_test.cc	Mon Aug 08 12:36:16 2011 +0200
     1.3 @@ -63,10 +63,10 @@
     1.4    "0 1\n";
     1.5  
     1.6  
     1.7 -int main() 
     1.8 +int main()
     1.9  {
    1.10    {
    1.11 -    ListDigraph d; 
    1.12 +    ListDigraph d;
    1.13      ListDigraph::Node s,t;
    1.14      ListDigraph::ArcMap<int> label(d);
    1.15      std::istringstream input(test_lgf);
    1.16 @@ -93,7 +93,7 @@
    1.17    }
    1.18  
    1.19    {
    1.20 -    ListDigraph d; 
    1.21 +    ListDigraph d;
    1.22      std::istringstream input(test_lgf_nomap);
    1.23      digraphReader(d, input).
    1.24        run();
    1.25 @@ -110,14 +110,14 @@
    1.26    }
    1.27  
    1.28    {
    1.29 -    ListDigraph d; 
    1.30 +    ListDigraph d;
    1.31      std::istringstream input(test_lgf_bad1);
    1.32      bool ok=false;
    1.33      try {
    1.34        digraphReader(d, input).
    1.35          run();
    1.36      }
    1.37 -    catch (FormatError& error) 
    1.38 +    catch (FormatError& error)
    1.39        {
    1.40          ok = true;
    1.41        }
    1.42 @@ -139,7 +139,7 @@
    1.43    }
    1.44  
    1.45    {
    1.46 -    ListDigraph d; 
    1.47 +    ListDigraph d;
    1.48      std::istringstream input(test_lgf_bad2);
    1.49      bool ok=false;
    1.50      try {