mirror of https://github.com/flutter/pinball.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
548 B
22 lines
548 B
// ignore_for_file: prefer_const_constructors
|
|
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:pinball/character_themes/character_themes.dart';
|
|
|
|
void main() {
|
|
group('SparkyTheme', () {
|
|
test('can be instantiated', () {
|
|
expect(SparkyTheme(), isNotNull);
|
|
});
|
|
|
|
test('supports value equality', () {
|
|
expect(SparkyTheme(), equals(SparkyTheme()));
|
|
});
|
|
|
|
test('ballColor is correct', () {
|
|
expect(SparkyTheme().ballColor, equals(Colors.orange));
|
|
});
|
|
});
|
|
}
|