assert(bit.setBit(0xE, 0) == 0xF) assert(bit.setBit(0, 0) == 1) assert(bit.setBit(1, 0) == 1)