public FloydWarshallDistanceTester(IVertexDistanceMatrix distances, IFloydWarshallDistanceTester tester)
 {
     if (distances == null)
     {
         throw new ArgumentNullException("distances");
     }
     if (tester == null)
     {
         throw new ArgumentNullException("tester");
     }
     this.distances = distances;
     this.tester = tester;
 }
        public FloydWarshallDistanceTester(
            IVertexDistanceMatrix distances,
            IFloydWarshallDistanceTester tester
            )
        {
            if (distances == null)
            {
                throw new ArgumentNullException(@"distances");
            }
            if (tester == null)
            {
                throw new ArgumentNullException(@"tester");
            }

            this.distances = distances;
            this.tester    = tester;
        }