This script generates bitwise test.