Lines Matching refs:life
513 bool life[2]; in DEF_TEST() local
515 LifeLineCanvas c0(w, h, &life[0]); in DEF_TEST()
516 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
518 REPORTER_ASSERT(r, !life[0]); in DEF_TEST()
521 std::unique_ptr<SkCanvas> c0 = std::unique_ptr<SkCanvas>(new LifeLineCanvas(w, h, &life[0])); in DEF_TEST()
522 std::unique_ptr<SkCanvas> c1 = std::unique_ptr<SkCanvas>(new LifeLineCanvas(w, h, &life[1])); in DEF_TEST()
523 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
524 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
530 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
531 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
534 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
535 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
542 bool life[2]; in DEF_TEST() local
543 std::unique_ptr<SkCanvas> c0 = std::unique_ptr<SkCanvas>(new LifeLineCanvas(w, h, &life[0])); in DEF_TEST()
544 std::unique_ptr<SkCanvas> c1 = std::unique_ptr<SkCanvas>(new LifeLineCanvas(w, h, &life[1])); in DEF_TEST()
545 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
546 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
552 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
553 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
556 REPORTER_ASSERT(r, !life[0]); in DEF_TEST()
557 REPORTER_ASSERT(r, !life[1]); in DEF_TEST()