anchor.diff:  
   import 'dart:async';
   import 'dart:io';
  +import 'dart:math';
   
   import 'package:expect/expect.dart';
   import 'package:path/path.dart' as p;
  
positive.code:     var snapshot1Bytes = await new File(snapshot1Path).readAsBytes();
      var snapshot2Bytes = await new File(snapshot2Path).readAsBytes();
  
      Expect.equals(snapshot1Bytes.length, snapshot2Bytes.length);
      for (var i = 0; i < snapshot1Bytes.length; i++) {
        if (snapshot1Bytes[i] != snapshot2Bytes[i]) {
          Expect.fail("Snapshots are not bitwise equal!");
        }
      }
    } finally {
      await temp.delete(recursive: true);
    }
  
negative.code:   final snapshot2Path = p.join(temp.path, 'snapshot2');
  
    try {
      print("Version ${Platform.version}");
  
      final generate1Result = await runDartBinary('GENERATE SNAPSHOT 1', [
        '--deterministic',
        '--snapshot=$snapshot1Path',
  