mirror of
https://github.com/cmur2/miflorad.git
synced 2024-12-22 12:54:25 +01:00
13 lines
244 B
Go
13 lines
244 B
Go
package common
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestMessage(t *testing.T) {
|
|
assert.Equal(t, "", MifloraGetAlphaNumericID(""))
|
|
assert.Equal(t, "1234567890ab", MifloraGetAlphaNumericID("12:34:56:78:90:ab"))
|
|
}
|