nim-cocoa/tests/test1.nim

13 lines
378 B
Nim
Raw Normal View History

2021-07-24 04:24:39 +00:00
# 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 cocoa
2021-07-24 04:24:39 +00:00
test "can add":
check add(5, 5) == 10