Expand tests for factorial
Peter Eisentraut <peter@eisentraut.org>
Expand tests for factorial Move from int4 to numeric test. (They were originally int4 functions, but were reimplemented for numeric in 04a4821adef38155b7920ba9eb83c4c3c29156f8.) Add some tests for edge cases. Discussion: https://www.postgresql.org/message-id/flat/6ce1df0e-86a3-e544-743a-f357ff663f68%402ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/int4.out | modified | +0 −12 |
| src/test/regress/expected/numeric.out | modified | +41 −0 |
| src/test/regress/sql/int4.sql | modified | +0 −4 |
| src/test/regress/sql/numeric.sql | modified | +11 −0 |
Discussion
- factorial of negative numbers 18 messages · 2020-06-15 → 2020-06-18