Skip to content

Commit f77e1ee

Browse files
committed
add tests
1 parent 0253fe2 commit f77e1ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_window.nim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ suite "Test Window":
5858
test "Window can get title":
5959
check window.title == "Window Test Test"
6060

61+
test "Window can set position":
62+
window.position = (0, 0)
63+
64+
test "Window can get position":
65+
check window.position == (0, 0)
66+
6167
test "Window can set child":
6268
window.child = child
6369

0 commit comments

Comments
 (0)