I try to do a minor refactoring, but it breaks all tests.
I have a lot of ifs that I\'d like to get rid off by using a jump table.
I want to go from here :