test: prune low-value coverage

This commit is contained in:
edde746
2026-08-06 05:33:18 +02:00
parent 094be1fa3e
commit db4f7a643b
27 changed files with 5 additions and 418 deletions
-8
View File
@@ -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);
});
});
}
-6
View File
@@ -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'));