28 lines
708 B
Dart
28 lines
708 B
Dart
import 'package:test/test.dart';
|
|
import 'package:fintracker_api/fintracker_api.dart';
|
|
|
|
|
|
/// tests for InstrumentsApi
|
|
void main() {
|
|
final instance = FintrackerApi().getInstrumentsApi();
|
|
|
|
group(InstrumentsApi, () {
|
|
// Get
|
|
//
|
|
// One instrument with its position, open lots, events and price history.
|
|
//
|
|
//Future<InstrumentDetail> instrumentsGet(int instrumentId, { String scope, DateTime pricesFrom }) async
|
|
test('test instrumentsGet', () async {
|
|
// TODO
|
|
});
|
|
|
|
// List
|
|
//
|
|
//Future<List<InstrumentOut>> instrumentsList({ String q, AssetClass assetClass, bool heldOnly, int limit }) async
|
|
test('test instrumentsList', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|