-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: cleanup existing tests; add TestMenu_Output
- Loading branch information
1 parent
9d17bc7
commit d2cc85c
Showing
10 changed files
with
131 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
internal/tui/views/testdata/TestLeaderboardCapacity/50_(overfull).golden
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
internal/tui/views/testdata/TestLeaderboardNavigation.golden
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
internal/tui/views/testdata/TestLeaderboard_KeyboardNavigation.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Rank Name Time Score Lines Level | ||
──────────────────────────────────────────────────────── | ||
14 user-36 1m12s 3600 36 38 | ||
15 user-35 1m10s 3500 35 37 | ||
16 user-34 1m8s 3400 34 36 | ||
17 user-33 1m6s 3300 33 35 | ||
18 user-32 1m4s 3200 32 34 | ||
19 user-31 1m2s 3100 31 33 | ||
20 user-30 1m0s 3000 30 32 | ||
21 user-29 58s 2900 29 31 | ||
22 user-28 56s 2800 28 30 | ||
23 user-27 54s 2700 27 29 | ||
24 user-26 52s 2600 26 28 | ||
25 user-25 50s 2500 25 27 | ||
26 user-24 48s 2400 24 26 | ||
27 user-23 46s 2300 23 25 | ||
28 user-22 44s 2200 22 24 | ||
29 user-21 42s 2100 21 23 | ||
30 user-new 1m0s 2001 2 3 | ||
31 user-20 40s 2000 20 22 | ||
32 user-19 38s 1900 19 21 | ||
33 user-18 36s 1800 18 20 | ||
escape exit • ? help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
internal/tui/views/testdata/TestLeaderboard_TableEntries/50_(overfull).golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Rank Name Time Score Lines Level | ||
──────────────────────────────────────────────────────── | ||
1 user-49 1m38s 4900 49 51 | ||
2 user-48 1m36s 4800 48 50 | ||
3 user-47 1m34s 4700 47 49 | ||
4 user-46 1m32s 4600 46 48 | ||
5 user-45 1m30s 4500 45 47 | ||
6 user-44 1m28s 4400 44 46 | ||
7 user-43 1m26s 4300 43 45 | ||
8 user-42 1m24s 4200 42 44 | ||
9 user-41 1m22s 4100 41 43 | ||
10 user-40 1m20s 4000 40 42 | ||
11 user-39 1m18s 3900 39 41 | ||
12 user-38 1m16s 3800 38 40 | ||
13 user-37 1m14s 3700 37 39 | ||
14 user-36 1m12s 3600 36 38 | ||
15 user-35 1m10s 3500 35 37 | ||
16 user-34 1m8s 3400 34 36 | ||
17 user-33 1m6s 3300 33 35 | ||
18 user-32 1m4s 3200 32 34 | ||
19 user-31 1m2s 3100 31 33 | ||
20 user-30 1m0s 3000 30 32 | ||
escape exit • ? help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
______________________ ______________ | ||
/_ __/ ____/_ __/ __ \/ _/ ____/ __ \ | ||
/ / / __/ / / / /_/ // // / __/ / / / | ||
/ / / /___ / / / _, _// // /_/ / /_/ / | ||
/_/ /_____/ /_/ /_/ |_/___/\____/\____/ | ||
|
||
|
||
Username: | ||
> testuser | ||
|
||
Game Mode: | ||
Marathon | ||
> Sprint (40 Lines) | ||
Ultra (Time Trial) | ||
|
||
┃ Starting Level: | ||
┃ 1 | ||
┃ 2 | ||
┃ 3 | ||
┃ > 4 | ||
┃ 5 | ||
┃ 6 | ||
┃ 7 | ||
┃ 8 | ||
┃ 9 | ||
┃ 10 | ||
┃ 11 | ||
┃ 12 | ||
┃ 13 | ||
┃ 14 | ||
┃ 15 | ||
|
||
↑ up • ↓ down • / filter • shift+tab back • enter submit |