more tests passing

This commit is contained in:
Emil Tin
2014-08-12 14:18:02 +02:00
parent a5ee7e78f6
commit 235a52032a
8 changed files with 125 additions and 72 deletions
+2 -5
View File
@@ -134,12 +134,9 @@ int Prepare::Process(int argc, char *argv[])
#ifdef WIN32
#pragma message("Memory consumption on Windows can be higher due to different bit packing")
#else
SimpleLogger().Write() << "sizeof(ImportEdge): " << sizeof(ImportEdge);
SimpleLogger().Write() << "sizeof(NodeBasedEdgeData): " << sizeof(NodeBasedEdgeData);
//TODO
//static_assert(sizeof(ImportEdge) == 21,
// "changing ImportEdge type has influence on memory consumption!");
static_assert(sizeof(ImportEdge) == 20,
"changing ImportEdge type has influence on memory consumption!");
#endif
NodeID number_of_node_based_nodes =
readBinaryOSRMGraphFromStream(input_stream,