1 assert( isHex("00"c) ); 2 assert( isHex("FF"c) ); 3 assert( isHex("Ffae0"c) ); 4 assert( isHex("AB"c) ); 5 assert( isHex("abdef"c) ); 6 assert( isHex("ABCD"c) ); 7 assert( isHex("0A12CD00"c) ); 8 assert( isHex("FFFFFFFFFFFFFFFF"c) ); 9 10 assert( isHex("00ER"c) == false ); 11 assert( !isHex("0xW"c) );
Authors : David 'SpottedTiger' L. Davis Created : 04.May.05 *