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
536 B
22 lines
536 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('DinoTheme', () {
|
|
test('can be instantiated', () {
|
|
expect(DinoTheme(), isNotNull);
|
|
});
|
|
|
|
test('supports value equality', () {
|
|
expect(DinoTheme(), equals(DinoTheme()));
|
|
});
|
|
|
|
test('ballColor is correct', () {
|
|
expect(DinoTheme().ballColor, equals(Colors.grey));
|
|
});
|
|
});
|
|
}
|