File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111tests_with_coverage_report : tests
1212 rm -rf coverage/html
13- genhtml coverage/lcov.info -o coverage/html
13+ genhtml --keep-going --function-coverage --branch-coverage coverage/lcov.info -o coverage/html
Original file line number Diff line number Diff line change 11import 'dart:typed_data' ;
22
33import 'package:ipcrypt/ipcrypt.dart' ;
4+ import 'package:ipcrypt/src/methods/ipcrypt_deterministic.dart' ;
45import 'package:test/test.dart' ;
56import 'test_vectors.dart' ;
67
78void main () {
89 group ('IpCryptDeterministic' , () {
10+ test ('IpCryptDeterministic() | returnsNormally' , () {
11+ expect (IpCryptDeterministic .new , returnsNormally);
12+ });
13+
914 for (final TestVector testVector in TestVectors .deterministic) {
1015 test ('encrypt | ${testVector .ip } -> ${testVector .output }' , () {
1116 expect (
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ import 'test_vectors.dart';
77
88void main () {
99 group ('IpCryptNonDeterministic' , () {
10+ test ('IpCryptNonDeterministic() | returnsNormally' , () {
11+ expect (IpCryptNonDeterministic .new , returnsNormally);
12+ });
13+
1014 for (final TestVector testVector in TestVectors .nd) {
1115 test ('encrypt | ${testVector .ip } -> ${testVector .output }' , () {
1216 testVector.tweak.isEmpty
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ import 'test_vectors.dart';
77
88void main () {
99 group ('IpCryptExtendedNonDeterministic' , () {
10+ test ('IpCryptExtendedNonDeterministic() | returnsNormally' , () {
11+ expect (IpCryptExtendedNonDeterministic .new , returnsNormally);
12+ });
13+
1014 for (final TestVector testVector in TestVectors .ndx) {
1115 test ('encrypt | ${testVector .ip } -> ${testVector .output }' , () {
1216 testVector.tweak.isEmpty
You can’t perform that action at this time.
0 commit comments