mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
解析了5档价格,还未和实际校对
This commit is contained in:
@@ -37,3 +37,8 @@ func Test_securityQuote_Decode(t *testing.T) {
|
||||
//SecurityQuote.Decode(f.Data)
|
||||
|
||||
}
|
||||
|
||||
func Test_getPrice(t *testing.T) {
|
||||
t.Log(getPrice([]byte{0x7f, 0x3f, 0x40, 0x3f, 0x01})) //预期-63
|
||||
t.Log(getPrice([]byte{0x2f, 0x3f, 0x40, 0x3f, 0x01})) //预期47
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user