Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carstenkoenig/fscheckfizzbuzz
FizzBuzz mit Quickcheck
https://github.com/carstenkoenig/fscheckfizzbuzz
Last synced: 23 days ago
JSON representation
FizzBuzz mit Quickcheck
- Host: GitHub
- URL: https://github.com/carstenkoenig/fscheckfizzbuzz
- Owner: CarstenKoenig
- Created: 2013-04-10T08:28:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-11T07:17:58.000Z (over 11 years ago)
- Last Synced: 2024-10-15T09:17:50.292Z (2 months ago)
- Language: F#
- Size: 630 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FizzBuzz with FsCheck
## Introduction
You all know the famous FizzBuzz coding kata:
Your task is write a function that - given a positive number n
* returns "FizzBuzz" for multiples of 15
* returns "Fizz" for multiples of 3
* returns "Buzz" for multiples of 5
* returns the n converted into a string in any other caseThe purpose of this project is just to demonstrate how to do this using FsCheck
instead of common unit-tests.