import 'package:fl_chart/src/extensions/fl_titles_data_extension.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';

import '../chart/data_pool.dart';

void main() {
  test('test allSidesPadding', () {
    expect(
      MockData.flTitlesData1.copyWith(show: false).allSidesPadding,
      EdgeInsets.zero,
    );

    expect(
      MockData.flTitlesData1.allSidesPadding,
      const EdgeInsets.fromLTRB(27, 16, 16, 16),
    );
  });
}
