anchor.diff:      expect(palette.colors.length, equals(palette.paletteColors.length));
     });
   
  -  test('PaletteGenerator limits max colors', () async {
  -    final ImageProvider image = await loadImage('landscape.png');
  +  testWidgets('PaletteGenerator limits max colors',
  +      (WidgetTester tester) async {
  +    final ImageProvider image = testImages['landscape'];
       PaletteGenerator palette =
           await PaletteGenerator.fromImageProvider(image, maximumColorCount: 32);
       expect(palette.paletteColors.length, equals(31));
  
positive.code:         within<Color>(distance: 8, from: const Color(0xda000000)));
    });
  
    test('PaletteGenerator works with regions', () async {
      final ImageProvider image = await loadImage('dominant.png');
      Rect region = new Rect.fromLTRB(0.0, 0.0, 100.0, 100.0);
      PaletteGenerator palette =
          await PaletteGenerator.fromImageProvider(image, region: region);
  
negative.code:         within<Color>(distance: 8, from: const Color(0xffff0000)));
    });
  
    testWidgets('PaletteGenerator finds dominant color and text colors',
        (WidgetTester tester) async {
      final ImageProvider image = testImages['dominant'];
      final PaletteGenerator palette =
          await PaletteGenerator.fromImageProvider(image);
      expect(palette.paletteColors.length, equals(3));
  