fizzbuzz
SKILL.md
Fizzbuzz
Create a fizzbuzz function that takes a number n and returns an array of strings from 1 to n where:
- Numbers divisible by 3 are replaced with "Fizz"
- Numbers divisible by 5 are replaced with "Buzz"
- Numbers divisible by both 3 and 5 are replaced with "FizzBuzz"
- All other numbers are converted to their string representation
Requirements
- The function should be named
fizzbuzz - It should accept a single integer parameter
- It should return an array of strings
- Match the language and style conventions of the current project
- Include a corresponding test file using the project's existing test framework