dist/nimble/tests/nimnimble/nimdevel/tests/test1.nim
raw| 1 | # This is just an example to get you started. You may wish to put all of your |
| 2 | # tests into a single file, or separate them into multiple `test1`, `test2` |
| 3 | # etc. files (better names are recommended, just make sure the name starts with |
| 4 | # the letter 't'). |
| 5 | # |
| 6 | # To run these tests, simply execute `nimble test`. |
| 7 | |
| 8 | import unittest |
| 9 | |
| 10 | import nimdevel |
| 11 | test "can add": |
| 12 | check add(5, 5) == 10 |