pre-existing stuff
This commit is contained in:
parent
aad9c19385
commit
24c50b7fc6
4 changed files with 170 additions and 0 deletions
1
tests/config.nims
Normal file
1
tests/config.nims
Normal file
|
|
@ -0,0 +1 @@
|
|||
switch("path", "$projectDir/../src")
|
||||
12
tests/test1.nim
Normal file
12
tests/test1.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# 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 unittest
|
||||
|
||||
import nimMs
|
||||
test "can add":
|
||||
check add(5, 5) == 10
|
||||
Loading…
Add table
Add a link
Reference in a new issue