Files
Dmitry ccd06f32f7 chore(app): сгенерированный Dart-клиент
just gen-client — покрывает links, cashflow-broker, ручные цены,
imports/pending, goals/income/rebalance/tax/benchmarks.
2026-09-19 10:46:09 +03:00

51 lines
1.4 KiB
Dart

import 'package:test/test.dart';
import 'package:fintracker_api/fintracker_api.dart';
/// tests for BenchmarksApi
void main() {
final instance = FintrackerApi().getBenchmarksApi();
group(BenchmarksApi, () {
// Benchmarks
//
// The portfolio's TWR beside each benchmark's, on the same grid of days. `days_skipped` is returned on both sides and is not cosmetic: a non-zero value on either means the two chains did not cover the same days, and the difference is then an approximation of an excess return rather than one.
//
//Future<BenchmarkComparison> benchmarksBenchmarks({ String scope, List<String?> period }) async
test('test benchmarksBenchmarks', () async {
// TODO
});
// Create
//
//Future<BenchmarkOut> benchmarksCreate(BenchmarkCreate benchmarkCreate) async
test('test benchmarksCreate', () async {
// TODO
});
// Delete
//
//Future benchmarksDelete(int benchmarkId) async
test('test benchmarksDelete', () async {
// TODO
});
// List
//
// Every benchmark, defaults first — the order the comparison block shows them in.
//
//Future<List<BenchmarkOut>> benchmarksList() async
test('test benchmarksList', () async {
// TODO
});
// Patch
//
//Future<BenchmarkOut> benchmarksPatch(int benchmarkId, BenchmarkPatch benchmarkPatch) async
test('test benchmarksPatch', () async {
// TODO
});
});
}