Frequently Asked Question

ASSESSMENT, TESTMODELLING: How can I check the value of single bits?
Last Updated 9 days ago

To check single bit values you can use the function TPT.getBit(int bits, int position).

For example to check the third bit value of the number 4 (4 == 0b100) you can use TPT.getBit(4,2) in a compare step or in any other check-function in the assessments or test modelling.

Please Wait!

Please wait... it will take a second!