import 'package:test/test.dart'; import 'package:fintracker_api/fintracker_api.dart'; /// tests for TaxApi void main() { final instance = FintrackerApi().getTaxApi(); group(TaxApi, () { // Lots // // Open lots with the date after which a sale falls under the long-term exemption. `year` selects the rate the \"what if I sold today\" figure is computed at; the lots themselves are always the ones open right now. `lot` is rebuilt from the ledger on every refresh and holds today's state only, so there is no honest way to answer \"which lots were open on 31 December two years ago\" — and inventing one would be worse than the limitation. // //Future taxLots({ int year, int accountId }) async test('test taxLots', () async { // TODO }); // Summary // // The year's estimated tax position, per account and in total. // //Future taxSummary({ int year, int accountId }) async test('test taxSummary', () async { // TODO }); }); }