You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dateKeys-dart/test/locator_seal_vm_test.dart

26 lines
798 B

// The vectors of stage 7b against their files: the Dart constants that the
// tests compiled to JavaScript read are test/vectors/locator_seal.json and
// seal_interop.json byte for byte, as tool/locator_seal_go_vectors.go and
// tool/seal_interop_go_verdicts.go write them.
@TestOn('vm')
library;
import 'dart:io';
import 'package:test/test.dart';
import 'vectors/locator_seal.g.dart';
import 'vectors/seal_interop.g.dart';
void main() {
test('locator_seal.g.dart holds locator_seal.json', () {
final file = File('test/vectors/locator_seal.json').readAsStringSync();
expect(locatorSealJson, file);
});
test('seal_interop.g.dart holds seal_interop.json', () {
final file = File('test/vectors/seal_interop.json').readAsStringSync();
expect(sealInteropJson, file);
});
}

Powered by TurnKey Linux.