ondras / rot.js

ROguelike Toolkit in JavaScript. Cool dungeon-related stuff, interactive manual, documentation, tests!
https://ondras.github.io/rot.js/hp/
BSD 3-Clause "New" or "Revised" License
2.33k stars 254 forks source link

unit tests #89

Closed uzudil closed 8 years ago

uzudil commented 8 years ago

Here are a few tests for the connect feature. Let me know if you're looking for more than this. Thanks!

ondras commented 8 years ago

Thanks!

Your tests look fine, but unfortunately you added them to the code coverage testing suite. These are meant mainly for coverage testing; regular tests are located at https://github.com/ondras/rot.js/tree/master/tests/spec. It would be great to have this tested via Jasmine as well...

uzudil commented 8 years ago

Sorry, I will add a real unit test also soon. Thanks!