Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
neroist committed Apr 17, 2023
1 parent 0253fe2 commit f77e1ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_window.nim
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ suite "Test Window":
test "Window can get title":
check window.title == "Window Test Test"

test "Window can set position":
window.position = (0, 0)

test "Window can get position":
check window.position == (0, 0)

test "Window can set child":
window.child = child

Expand Down

0 comments on commit f77e1ee

Please sign in to comment.