mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-22 13:50:49 +01:00
Replace AlgoUnsupported with AlgoCoinflip in algo_test.go
The previously named "AlgoUnsupported" has been replaced with "AlgoCoinflip" in the algorithm tests in algo_test.go. Additionally, the "AlgoUnsupported" test has been moved down to keep the test sequence logical and comprehensive.
This commit is contained in:
parent
86ca627fed
commit
03867adac0
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ func TestIntToAlgo(t *testing.T) {
|
||||||
}{
|
}{
|
||||||
{"AlgoPronouncable", 0, AlgoPronouncable},
|
{"AlgoPronouncable", 0, AlgoPronouncable},
|
||||||
{"AlgoRandom", 1, AlgoRandom},
|
{"AlgoRandom", 1, AlgoRandom},
|
||||||
{"AlgoUnsupported", 2, AlgoUnsupported},
|
{"AlgoCoinflip", 2, AlgoCoinFlip},
|
||||||
|
{"AlgoUnsupported", 3, AlgoUnsupported},
|
||||||
}
|
}
|
||||||
for _, tc := range tt {
|
for _, tc := range tt {
|
||||||
t.Run(tc.name, func(t *testing.T) {
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
|
|
Loading…
Reference in a new issue