Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added tests for Lang::Sound methods: rest?, truthy?, should_trigger? #1054

Merged

Conversation

tomdenbraber
Copy link
Contributor

Recently I browsed through the project and it occurred to me that the system is not fully tested currently. This was confirmed by a coverage tool. I have written some tests to cover a few simple methods from the SonicPi::Lang::Sound module.

Hope it helps a little!

samaaron added a commit that referenced this pull request Mar 14, 2016
added tests for Lang::Sound methods: rest?, truthy?, should_trigger?
@samaaron samaaron merged commit 8734940 into sonic-pi-net:master Mar 14, 2016
@samaaron
Copy link
Collaborator

Brilliant thanks - please feel very free to add any other tests you find interesting to write :-)

@tomdenbraber tomdenbraber deleted the unit-testing-simple-methods branch March 14, 2016 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants