From 7c931b9c4b955b0f2e66da4bdc9f447d8c452ae1 Mon Sep 17 00:00:00 2001 From: Allison Ryan Date: Tue, 19 Apr 2022 20:32:08 -0500 Subject: [PATCH] test: update theme tests --- .../pinball_theme/test/src/themes/android_theme_test.dart | 7 +++++++ .../pinball_theme/test/src/themes/dash_theme_test.dart | 7 +++++++ .../pinball_theme/test/src/themes/dino_theme_test.dart | 7 +++++++ .../pinball_theme/test/src/themes/sparky_theme_test.dart | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/packages/pinball_theme/test/src/themes/android_theme_test.dart b/packages/pinball_theme/test/src/themes/android_theme_test.dart index 5dd10283..5936ee85 100644 --- a/packages/pinball_theme/test/src/themes/android_theme_test.dart +++ b/packages/pinball_theme/test/src/themes/android_theme_test.dart @@ -35,5 +35,12 @@ void main() { test('icon asset is correct', () { expect(AndroidTheme().icon, equals(Assets.images.android.icon)); }); + + test('leaderboard icon asset is correct', () { + expect( + AndroidTheme().leaderboardIcon, + equals(Assets.images.android.leaderboardIcon), + ); + }); }); } diff --git a/packages/pinball_theme/test/src/themes/dash_theme_test.dart b/packages/pinball_theme/test/src/themes/dash_theme_test.dart index 1180eeb5..b753ec8d 100644 --- a/packages/pinball_theme/test/src/themes/dash_theme_test.dart +++ b/packages/pinball_theme/test/src/themes/dash_theme_test.dart @@ -35,5 +35,12 @@ void main() { test('icon asset is correct', () { expect(DashTheme().icon, equals(Assets.images.dash.icon)); }); + + test('leaderboard icon asset is correct', () { + expect( + DashTheme().leaderboardIcon, + equals(Assets.images.dash.leaderboardIcon), + ); + }); }); } diff --git a/packages/pinball_theme/test/src/themes/dino_theme_test.dart b/packages/pinball_theme/test/src/themes/dino_theme_test.dart index 061ebf8d..c9fab6e2 100644 --- a/packages/pinball_theme/test/src/themes/dino_theme_test.dart +++ b/packages/pinball_theme/test/src/themes/dino_theme_test.dart @@ -35,5 +35,12 @@ void main() { test('icon asset is correct', () { expect(DinoTheme().icon, equals(Assets.images.dino.icon)); }); + + test('leaderboard icon asset is correct', () { + expect( + DinoTheme().leaderboardIcon, + equals(Assets.images.dino.leaderboardIcon), + ); + }); }); } diff --git a/packages/pinball_theme/test/src/themes/sparky_theme_test.dart b/packages/pinball_theme/test/src/themes/sparky_theme_test.dart index bf18211d..2c85cd20 100644 --- a/packages/pinball_theme/test/src/themes/sparky_theme_test.dart +++ b/packages/pinball_theme/test/src/themes/sparky_theme_test.dart @@ -35,5 +35,12 @@ void main() { test('icon asset is correct', () { expect(SparkyTheme().icon, equals(Assets.images.sparky.icon)); }); + + test('leaderboard icon asset is correct', () { + expect( + SparkyTheme().leaderboardIcon, + equals(Assets.images.sparky.leaderboardIcon), + ); + }); }); }