aim-oscar-server/services/0x17_authorization_registration_service_test.go
2022-01-22 13:46:59 -05:00

14 lines
278 B
Go

package services
import (
"bytes"
"testing"
)
func TestRoast(t *testing.T) {
expected := []byte{0x83, 0x47, 0xF2, 0xB7, 0x4E, 0xE9, 0xA9, 0xF6}
result := roast("password")
if !bytes.Equal(result, expected) {
t.Errorf("expected %+v, but got %+v", expected, result)
}
}