That's the absolutely wrong way to test a function. You want to test a function so _as the implementation changes, the same output follows the same inputs_.
Counterexample: I might refactor that function without those code paths (e.g. write `x*sign(x)` instead). Do I need only one test now?
Morale: DO NOT TEST IMPLEMENTATIONS