anchor.diff:      late ByteData data;
       switch (key) {
         case 'assets/image.png':
  -        data = TestByteData(1.0);
  +        data = testByteData(1.0);
           break;
         case 'assets/1.0x/image.png':
  -        data = TestByteData(10.0); // see "...with a main asset and a 1.0x asset"
  +        data = testByteData(10.0); // see "...with a main asset and a 1.0x asset"
           break;
         case 'assets/1.5x/image.png':
  -        data = TestByteData(1.5);
  +        data = testByteData(1.5);
           break;
         case 'assets/2.0x/image.png':
  -        data = TestByteData(2.0);
  +        data = testByteData(2.0);
           break;
         case 'assets/3.0x/image.png':
  -        data = TestByteData(3.0);
  +        data = testByteData(3.0);
           break;
         case 'assets/4.0x/image.png':
  -        data = TestByteData(4.0);
  +        data = testByteData(4.0);
           break;
       }
       return SynchronousFuture<ByteData>(data);
  
positive.code:     Key key = GlobalKey();
      await pumpTreeToLayout(tester, buildImageAtRatio(image, key, ratio, false, images, bundle));
      expect(getRenderImage(tester, key).size, const Size(200.0, 200.0));
      // Verify we got the 10x scaled image, since the TestByteData said it should be 10x.
      expect(getRenderImage(tester, key).image!.height, 480);
      key = GlobalKey();
      await pumpTreeToLayout(tester, buildImageAtRatio(image, key, ratio, true, images, bundle));
      expect(getRenderImage(tester, key).size, const Size(480.0, 480.0));
      // Verify we got the 10x scaled image, since the TestByteData said it should be 10x.
      expect(getRenderImage(tester, key).image!.height, 480);
    });
  
  
negative.code: 
  import '../image_data.dart';
  
  ByteData testByteData(double scale) => ByteData(8)..setFloat64(0, scale);
  
  extension on ByteData {
    double get scale => getFloat64(0);
  }
  
  const String testManifest = '''
  