Skip to content

Commit

Permalink
add tests for Bounds, Links
Browse files Browse the repository at this point in the history
  • Loading branch information
kb0 committed Aug 6, 2020
1 parent c251325 commit f83d198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/gpx_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ void main() {

expect(mt1, mt2);
expect(mt1.toString(), mt2.toString());
expect(mt1.hashCode, mt2.hashCode);
expect(mt1.hashCode, isNot(equals(mt2.hashCode)));

mt1.links = [Link()];
mt2.links = [Link()];
expect(mt1, mt2);

expect(mt1, mt2);
expect(mt1.toString(), mt2.toString());
expect(mt1.hashCode, mt2.hashCode);
expect(mt1.hashCode, isNot(equals(mt2.hashCode)));
});

test('test bounds objects', () async {
Expand Down

0 comments on commit f83d198

Please sign in to comment.