Skip to content

Commit 7a25164

Browse files
committed
Create an abstract class for tests
Created test.dart containing a class named Test.
1 parent 597ab46 commit 7a25164

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

common/test.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import 'data.dart';
2+
3+
typedef num Workload<T>(T);
4+
5+
abstract class Test<T> {
6+
Workload<T> workload;
7+
8+
num call(Iterable<T> dataPoint);
9+
}

0 commit comments

Comments
 (0)