1234567891011121314151617181920212223 |
- # This is just an example to get you started. You may wish to put all of your
- # tests into a single file, or separate them into multiple `test1`, `test2`
- # etc. files (better names are recommended, just make sure the name starts with
- # the letter 't').
- #
- # To run these tests, simply execute `nimble test`.
- import
- os,
- unittest,
- terminal,
- strutils
- # import rainbow
- import shootpkg/shootfuncs
- test "correct welcome":
- check getWelcomeMessage() == "Shoot!"
- test "tilde":
- check tilde(getHomeDir()) == "~"
|