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:
Winni Neessen 2024-03-07 21:22:14 +01:00
parent 86ca627fed
commit 03867adac0
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

View file

@ -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) {