blob: 25e7cf33ecb818c7f400f6850679bc02d4c16864 [file]
// Copyright 2019 Google LLC
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#include "tools/fiddle/examples.h"
REG_FIDDLE(Rect_notequal_operator, 256, 256, true, 0) {
void draw(SkCanvas* canvas) {
SkRect test = {0, 0, 2, SK_ScalarNaN};
SkDebugf("test with NaN is %s" "equal to itself\n", test == test ? "" : "not ");
}
} // END FIDDLE