summaryrefslogtreecommitdiff
path: root/share/qtcreator/templates/wizards/projects/nimble/hybrid/tests/test1.nim
blob: cabb157e1c2fcfc8247f16c5b948b07c995abdd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 %{ProjectName}pkg/submodule
test "correct welcome":
  check getWelcomeMessage() == "Hello, World!"