xref: /netbsd/tests/lib/libcurses/tests/newwin (revision e18fbc08)
1include start
2call win1 newwin 6 6 2 5
3check win1 NON_NULL
4call2 2 5 getbegyx $win1
5call2 6 6 getmaxyx $win1
6
7# test window creation with negative parameters
8call win2 newwin -5 -10 1 1
9check win2 NON_NULL
10call2 1 1 getbegyx $win2
11call2 18 69 getmaxyx $win2
12