mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-22 10:36:14 +00:00
20 lines
324 B
Go
20 lines
324 B
Go
package constants
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestConstants(t *testing.T) {
|
|
if DateStr == "" {
|
|
t.Error("DateStr should not be empty")
|
|
}
|
|
|
|
if SpeakerHTTPPort != 8090 {
|
|
t.Errorf("Expected SpeakerHTTPPort 8090, got %d", SpeakerHTTPPort)
|
|
}
|
|
|
|
if len(GetProviders()) == 0 {
|
|
t.Error("Providers should not be empty")
|
|
}
|
|
}
|