Add byte hex tests
This commit is contained in:
parent
a8a35ea688
commit
3d9e562e2c
@ -6,3 +6,11 @@ func main():
|
||||
|
||||
>> Byte(0xFF)
|
||||
= Byte(0xFF)
|
||||
|
||||
>> b := Byte(0x0F)
|
||||
>> b:hex()
|
||||
= "0F"
|
||||
>> b:hex(prefix=yes)
|
||||
= "0x0F"
|
||||
>> b:hex(uppercase=no)
|
||||
= "0f"
|
||||
|
Loading…
Reference in New Issue
Block a user