aboutsummaryrefslogtreecommitdiff
path: root/test/bytes.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/bytes.tm')
-rw-r--r--test/bytes.tm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/bytes.tm b/test/bytes.tm
index 25efbeb8..a207c633 100644
--- a/test/bytes.tm
+++ b/test/bytes.tm
@@ -14,3 +14,12 @@ func main()
= "0x0F"
>> b.hex(uppercase=no)
= "0f"
+
+ >> Byte(0x06).get_bit(1)
+ = no
+ >> Byte(0x06).get_bit(2)
+ = yes
+ >> Byte(0x06).get_bit(3)
+ = yes
+ >> Byte(0x06).get_bit(4)
+ = no