Make sure that the new implementation in C return that same values as the original Python implementation.