Skip to content

Commit 59206ec

Browse files
By decree, we shall keep going.
1 parent 3a5e8d3 commit 59206ec

4 files changed

Lines changed: 14 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ tests:
1010

1111
tests_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

test/methods/ipcrypt_deterministic_test.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
import 'dart:typed_data';
22

33
import 'package:ipcrypt/ipcrypt.dart';
4+
import 'package:ipcrypt/src/methods/ipcrypt_deterministic.dart';
45
import 'package:test/test.dart';
56
import 'test_vectors.dart';
67

78
void 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(

test/methods/ipcrypt_nd_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import 'test_vectors.dart';
77

88
void 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

test/methods/ipcrypt_ndx_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import 'test_vectors.dart';
77

88
void 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

0 commit comments

Comments
 (0)