add a SwitchHistoryRule unit test
Created by: nicosang
Hi,
in issue #2178 (closed), a division by zero has been detected, that is why a SwitchHistoryRule unit test is added. I don't know exactly what is expected because in javascript a division by zero returns INFINITY, not really an error.
Nico