Lines Matching refs:life
730 bool life[2]; in DEF_TEST() local
732 LifeLineCanvas c0(w, h, &life[0]); in DEF_TEST()
733 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
735 REPORTER_ASSERT(r, !life[0]); in DEF_TEST()
738 std::unique_ptr<SkCanvas> c0 = std::unique_ptr<SkCanvas>(new LifeLineCanvas(w, h, &life[0])); in DEF_TEST()
739 std::unique_ptr<SkCanvas> c1 = std::unique_ptr<SkCanvas>(new LifeLineCanvas(w, h, &life[1])); in DEF_TEST()
740 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
741 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
747 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
748 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
751 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
752 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
759 bool life[2]; in DEF_TEST() local
760 std::unique_ptr<SkCanvas> c0 = std::unique_ptr<SkCanvas>(new LifeLineCanvas(w, h, &life[0])); in DEF_TEST()
761 std::unique_ptr<SkCanvas> c1 = std::unique_ptr<SkCanvas>(new LifeLineCanvas(w, h, &life[1])); in DEF_TEST()
762 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
763 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
769 REPORTER_ASSERT(r, life[0]); in DEF_TEST()
770 REPORTER_ASSERT(r, life[1]); in DEF_TEST()
773 REPORTER_ASSERT(r, !life[0]); in DEF_TEST()
774 REPORTER_ASSERT(r, !life[1]); in DEF_TEST()