| Index: test/sha1_test.dart
|
| diff --git a/test/sha1_test.dart b/test/sha1_test.dart
|
| index a531b99c8330b9b5f48dae3e0acbc0d91b902060..2bba41ad76b08c9a2b5b888c3801f26b5af5ec4f 100644
|
| --- a/test/sha1_test.dart
|
| +++ b/test/sha1_test.dart
|
| @@ -7,6 +7,7 @@ library sha1_test;
|
|
|
| import "package:crypto/crypto.dart";
|
| import "package:test/test.dart";
|
| +import 'very_long_input.dart';
|
|
|
| part 'sha1_long_test_vectors.dart';
|
| part 'sha1_short_test_vectors.dart';
|
| @@ -21,6 +22,10 @@ void main() {
|
| test('short inputs', () {
|
| _testStandardVectors(sha1_short_inputs, sha1_short_mds);
|
| });
|
| + test('input bit length greater than 32 bits', () {
|
| + veryLongInput(
|
| + new SHA1(), 1000000000, '1dd775261d7abab0b66910acc1d827a2c3799eaf');
|
| + });
|
| }
|
|
|
| void _testExpectedValues() {
|
|
|