18 lines
358 B
Go
18 lines
358 B
Go
package client_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"s1d3sw1ped/robinhood-agentic-mcp/client"
|
|
)
|
|
|
|
func TestEnums_wireValues(t *testing.T) {
|
|
t.Parallel()
|
|
if client.Buy != "buy" || client.Stop != "stop_market" || client.StopLoss != "stop_loss" {
|
|
t.Fatal("side/type")
|
|
}
|
|
if client.GFD != "gfd" || client.RegularHours != "regular_hours" {
|
|
t.Fatal("tif/hours")
|
|
}
|
|
}
|