Skip to content

Commit

Permalink
Fix radar chart test problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Jul 22, 2021
1 parent b70b4f9 commit 466e8b4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions test/chart/radar_chart/radar_chart_data_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,16 @@ void main() {
expect(radarDataSet1 == radarDataSet2, false);

expect(
radarDataSet1 == radarDataSet1Clone.copyWith(dataEntries: [RadarEntry(value: 5)]), false);

expect(radarDataSet1 == radarDataSet1Clone.copyWith(dataEntries: []), false);
radarDataSet1 ==
radarDataSet1Clone.copyWith(
dataEntries: [
RadarEntry(value: 5),
RadarEntry(value: 5),
RadarEntry(value: 5),
],
),
false,
);

expect(radarDataSet1 == radarDataSet1Clone.copyWith(fillColor: Colors.grey), true);

Expand Down

0 comments on commit 466e8b4

Please sign in to comment.