TRIQS/TRIQS — Issue #23: Test "test_converter" fails
Author: lvboehnke
Created: 2012-02-02 12:13:40+00:00
State: open

Comparing the output of this test with the reference output, lines 9 ("a --- > 12") and 10 ("b --- > 102") are swapped.

Printing these two lines is invoked from pytriqs/Tools/test/test_converter.cpp line 64. Basically, the dict { "a" : 12, "b" : 102} is put into an boost::unordered_map and read out again.
Since it is an *unordered*_map, I doubt swapping the order should be considered a fail of the test. I don't have a quick solution at hand however. Perhaps sorting the items again by their key before printing?