News for hackers. Stuff that matters.
Re:What if writing tests was a joyful experience? by davidgrenier on Saturday January 14, 2023 @08:02AM (#34379996)
In combinatorics the adjusted fibonacci numbers start with 1 instead and is more commonly used as it aligns with many other results. One might want to document in the code, via a test, which sequence is of interest.

This is just an example of course but elegant functions might need to be tested.

There are no comments on this comment yet.