Skip to content

Commit

Permalink
binary format test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdelnero committed Oct 17, 2024
1 parent cd7ca0d commit 4047f33
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/scripts/script_engine_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ print Or and xor operation, VARIABLE_1_TEST : $VARIABLE_1_TEST (Should be 0xCCCC

if $VARIABLE_1_TEST != 0xCCCCAA55 then goto test_failed

print Binary number format test

$VARIABLE_1_TEST = 0b1010
$VARIABLE_2_TEST = 0b01010000

$VARIABLE_TMP = $VARIABLE_1_TEST | $VARIABLE_2_TEST

if $VARIABLE_TMP != 0b01011010 then goto test_failed

print Binary number format test passed !

print End of script ( All Tests passed :) ) !

return # exit the from current script
Expand Down

0 comments on commit 4047f33

Please sign in to comment.