test: prune low-value coverage
This commit is contained in:
@@ -36,13 +36,5 @@ void main() {
|
||||
expect(ScreenBreakpoints.isWideTabletOrLarger(900), isTrue);
|
||||
expect(ScreenBreakpoints.isWideTabletOrLarger(5000), isTrue);
|
||||
});
|
||||
|
||||
test('constant values match expected thresholds', () {
|
||||
expect(ScreenBreakpoints.mobile, 600);
|
||||
expect(ScreenBreakpoints.tablet, 600);
|
||||
expect(ScreenBreakpoints.wideTablet, 900);
|
||||
expect(ScreenBreakpoints.desktop, 1200);
|
||||
expect(ScreenBreakpoints.largeDesktop, 1600);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -3,13 +3,7 @@ import 'package:plezy/utils/track_label_builder.dart';
|
||||
|
||||
void main() {
|
||||
group('TrackLabel', () {
|
||||
test('joined concatenates primary and secondary with " · "', () {
|
||||
expect(const TrackLabel('Tamil', 'E-AC3 · 5.1').joined, 'Tamil · E-AC3 · 5.1');
|
||||
});
|
||||
|
||||
test('joined is just primary when secondary is null', () {
|
||||
expect(const TrackLabel('Tamil').joined, 'Tamil');
|
||||
});
|
||||
|
||||
test('equality compares both parts', () {
|
||||
expect(const TrackLabel('A', 'B'), const TrackLabel('A', 'B'));
|
||||
|
||||
Reference in New Issue
Block a user