added a couple tests

master
jonk1993 2016-05-21 00:06:34 +00:00
parent 84ad168f61
commit 889e45906e
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,10 @@ ddg_goodie_test(
'81 in base 9 to base 3' => build_test(81, 9, 3, '2201'), '81 in base 9 to base 3' => build_test(81, 9, 3, '2201'),
'1111 in binary as octal' => build_test(1111, 2, 8, '17'), '1111 in binary as octal' => build_test(1111, 2, 8, '17'),
'FF in hex to decimal' => build_test('FF', 16, 10, '255'), 'FF in hex to decimal' => build_test('FF', 16, 10, '255'),
'0xFF in base 10' => build_test('FF', 16, 10, '255') '0xFF in base 10' => build_test('FF', 16, 10, '255'),
'BEEF as base 36 to hex' => build_test('BEEF', 36, 16, '81DA7'),
'HELLOWORLD as base 33 to decimal'=> build_test('HELLOWORLD', 33, 10, '809608041709942')
); );
done_testing; done_testing;