xref: /freebsd/contrib/netbsd-tests/lib/libcurses/tests/clear (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1include addstr
2call OK clear
3call OK refresh
4compare clear1.chk
5call OK move 5 5
6call OK addstr "abcde"
7call OK move 20 5
8call OK addstr "fghij"
9call OK move 10 5
10call OK refresh
11compare clear2.chk
12call OK clrtobot
13call OK refresh
14compare clear3.chk
15call OK erase
16call OK refresh
17compare clear4.chk
18include fill_screen
19compare fill.chk
20call OK erase
21call OK refresh
22compare clear5.chk
23# create a window to play with, defines win1 var
24include window_create
25call OK waddstr $win1 "abc"
26call OK mvwaddstr $win1 4 1 "efg"
27call OK wmove $win1 1 0
28call OK wrefresh $win1
29compare clear6.chk
30call OK wclrtobot $win1
31call OK wrefresh $win1
32compare clear7.chk
33include fill_screen
34comparend home.chk
35compare fill.chk
36call OK wrefresh $win1
37call OK wclear $win1
38call OK wrefresh $win1
39compare clear8.chk
40call OK clear
41call OK refresh
42compare clear1.chk
43include fill_screen
44compare fill.chk
45call OK werase $win1
46call OK wrefresh $win1
47compare clear9.chk
48call OK waddstr $win1 "abc"
49call OK mvwaddstr $win1 4 1 "efg"
50call OK wmove $win1 1 0
51call OK wrefresh $win1
52compare clear6.chk
53call OK wmove $win1 4 0
54call OK wclrtoeol $win1
55call OK wrefresh $win1
56compare clear10.chk
57
58