 		for ( int j = 0; j < RouteCache::MAX_DST_ROUTES; j ++ )
 			route_cache->add_route_entry(&route[i][j], false);
 	//Setup: add QoS:
-	//	route[0]: reach max
-	//	route[1]: reach min
-	//	route[2]: stay at zero
+	//	route[0][0]: reach max
+	//	route[0][1]: reach min
+	//	route[0][2]: stay at zero
+	trace	<< PSTR("[testQoS] Adding route entry with QOS_LEVEL_MAX") << endl;
+	trace	<< PSTR("[testQoS] ... Adding QOS_LEVEL_MAX") << endl;
 	for ( int k = 0; k < Network::QOS_LEVEL_MAX + 10; k ++ )//exceeding max on purpose
 		result &= route_cache->update_QoS(&route[0][0], true);
-	trace	<< PSTR("[testQoS] Route entry with QOS_LEVEL_MAX: ");
+	trace	<< PSTR("[testQoS] ... Route entry: ");//+100
 	route_cache->print(trace, *route_cache->get_route_entry(route[0][0].dst, 0), 2);
 	trace << endl;
 	
+	trace	<< PSTR("[testQoS] Adding route entry with QOS_LEVEL_MIN") << endl;
+	trace	<< PSTR("[testQoS] ... Adding QOS_LEVEL_MIN") << endl;
 	for ( int k = 0; k > Network::QOS_LEVEL_MIN - 10; k -- )//exceeding min on purpose
 		result &= route_cache->update_QoS(&route[0][1], false);
-	trace	<< PSTR("[testQoS] Route entry with QOS_LEVEL_MIN: ");
+	trace	<< PSTR("[testQoS] ... Route entry: ");//-100
 	route_cache->print(trace, *route_cache->get_route_entry(route[0][1].dst, 1), 2);
 	trace << endl;
 	
+	trace	<< PSTR("[testQoS] Adding route entry with QOS_LEVEL_AVERAGE") << endl;
+	trace	<< PSTR("[testQoS] ... Adding QOS_LEVEL_MAX") << endl;
 	for ( int k = 0; k < Network::QOS_LEVEL_MAX + 10; k ++ )//exceeding max on purpose
 		result &= route_cache->update_QoS(&route[0][2], true);
+	trace	<< PSTR("[testQoS] ... Adding QOS_LEVEL_MIN") << endl;
 	for ( int k = 0; k < Network::QOS_LEVEL_MAX; k ++ )//should net to zero
 		result &= route_cache->update_QoS(&route[0][2], false);
-	trace	<< PSTR("[testQoS] Route entry with QOS_LEVEL_AVERAGE: ");
+	trace	<< PSTR("[testQoS] ... Route entry: ");//0
 	route_cache->print(trace, *route_cache->get_route_entry(route[0][2].dst, 2), 2);
 	trace << endl;
 	


void loop()
{
}


 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA  02111-1307  USA
 */
#ifndef __TESTS_ROUTECACHE_H__
#define __TESTS_ROUTECACHE_H__

#include <stdlib.h>
#include <Cosa/Trace.hh>
#include <Cosa/Types.h>
#include <Cosa/IOStream.hh>
#include <Cosa/IOStream/Driver/UART.hh>
#include <Cosa/Watchdog.hh>
#include <Cosa/RTC.hh>
#include <Meshwork.h>
#include <Meshwork/L3/Network.h>
#include <Meshwork/L3/NetworkV1/NetworkV1.h>
#include <Meshwork/L3/NetworkV1/RouteCache.h>
#include <Meshwork/L3/NetworkV1/RouteCache.cpp>

using Meshwork::L3::Network;
using Meshwork::L3::NetworkV1::NetworkV1;
