main
1import 'package:health_data_store/src/extensions/datetime_seconds.dart';
2import 'package:test/expect.dart';
3import 'package:test/scaffolding.dart';
4
5void main() {
6 test('should create DateTime correctly', () {
7 final t = DateTimeS.fromSecondsSinceEpoch(42);
8 expect(t.millisecondsSinceEpoch, 42 * 1000);
9 });
10 test('should return time since epoch correctly', () {
11 final t = DateTimeS.fromSecondsSinceEpoch(42);
12 expect(t.secondsSinceEpoch, 42);
13 });
14}