48bdc79eb26ec88f0a92dbc6e71460b8bdab10af
[reactos.git] / rostests / apitests / gdi32 / GdiConvertFont.c
1 /*
2 * PROJECT: ReactOS api tests
3 * LICENSE: GPL - See COPYING in the top level directory
4 * PURPOSE: Test for GdiConvertFont
5 * PROGRAMMERS: Timo Kreuzer
6 */
7
8 #include <wine/test.h>
9 #include <wingdi.h>
10
11 HFONT WINAPI GdiConvertFont(HFONT);
12
13 void Test_GdiConvertFont()
14 {
15 ok(GdiConvertFont((HFONT)-1) == (HFONT)-1, "\n");
16 ok(GdiConvertFont((HFONT)0) == (HFONT)0, "\n");
17 ok(GdiConvertFont((HFONT)1) == (HFONT)1, "\n");
18 ok(GdiConvertFont((HFONT)2) == (HFONT)2, "\n");
19 }
20
21 START_TEST(GdiConvertFont)
22 {
23 Test_GdiConvertFont();
24 }
25