git-svn-id: http://skia.googlecode.com/svn/trunk@3937 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2012-05-15 14:32:42 +00:00
Родитель 30d90ebe7c
Коммит 415e76a760
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -21,6 +21,7 @@ struct PointSet {
};
static void test_isRectFinite(skiatest::Reporter* reporter) {
#ifdef SK_SCALAR_IS_FLOAT
static const SkPoint gF0[] = {
{ 0, 0 }, { 1, 1 }
};
@ -61,6 +62,7 @@ static void test_isRectFinite(skiatest::Reporter* reporter) {
bool rectIsFinite = !r.isEmpty();
REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite);
}
#endif
}
static bool isFinite_int(float x) {