Commits

Matt Oswald  committed d236fbc

just realized it's not "Koenig name resolution", it's "argument-dependent lookup" or "Koenig lookup"

  • Participants
  • Parent commits b893cc5

Comments (0)

Files changed (1)

File Tests/UnitTests/TestsCanOutputAnythingWithToString.cpp

 #include <string>
 #include "xUnit++/xUnit++.h"
 
-SUITE(KNRToString)
+SUITE(ADLToString)
 {
 
 namespace HasToString
 
 using HasToString::Point;
 
-FACT(EqualKNR)
+FACT(EqualADL)
 {
     Point p0(0, 0);
     Point p1(1, 1);
     Check.Contains(result.what(), "Actual: (1, 1)");
 }
 
-FACT(RangeEqualKNR)
+FACT(RangeEqualADL)
 {
     Point p0[] = { Point(0, 0), Point(1, 0), Point(2, 0) };
     Point p1[] = { Point(0, 0), Point(1, 1), Point(2, 0) };
     Check.Contains(result.what(), "Actual: [ (0, 0), (1, 1), (2, 0) ]");
 }
 
-FACT(InRangeKNR)
+FACT(InRangeADL)
 {
     Point min(0, 0);
     Point max(10, 0);
     Check.Contains(result.what(), "Actual: (20, 0)");
 }
 
-FACT(NotInRangeKNR)
+FACT(NotInRangeADL)
 {
     Point min(0, 0);
     Point max(10, 0);