1234567891011121314151617 |
- package door
- import "testing"
- func BenchmarkSpinRite(b *testing.B) {
- Unicode = true
- for i := 0; i < b.N; i++ {
- var spin SpinRiteMsg = SpinRiteMsgInit(15, 5,
- ColorText("RED ON GREEN"),
- []string{"RED", "GREEN", "SOFTWARE"})
- for x := 0; x < 20; x++ {
- spin.Output()
- }
- }
- }
|