reactos/rostests/apitests/gdi32/GdiConvertBrush.c
Amine Khaldi c71475e3bb * Addendum to r58214.
svn path=/trunk/; revision=58290
2013-02-05 17:54:22 +00:00

25 lines
593 B
C

/*
* PROJECT: ReactOS api tests
* LICENSE: GPL - See COPYING in the top level directory
* PURPOSE: Test for GdiConvertBrush
* PROGRAMMERS: Timo Kreuzer
*/
#include <wine/test.h>
#include <wingdi.h>
HBRUSH WINAPI GdiConvertBrush(HBRUSH hbr);
void Test_GdiConvertBrush()
{
ok(GdiConvertBrush((HBRUSH)-1) == (HBRUSH)-1, "\n");
ok(GdiConvertBrush((HBRUSH)0) == (HBRUSH)0, "\n");
ok(GdiConvertBrush((HBRUSH)1) == (HBRUSH)1, "\n");
ok(GdiConvertBrush((HBRUSH)2) == (HBRUSH)2, "\n");
}
START_TEST(GdiConvertBrush)
{
Test_GdiConvertBrush();
}