Skip to content

Commit

Permalink
Create an abstract class for tests
Browse files Browse the repository at this point in the history
Created test.dart containing a class named Test.
  • Loading branch information
thomasio101 committed Feb 20, 2019
1 parent 597ab46 commit 7a25164
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions common/test.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import 'data.dart';

typedef num Workload<T>(T);

abstract class Test<T> {
Workload<T> workload;

num call(Iterable<T> dataPoint);
}

0 comments on commit 7a25164

Please sign in to comment.