An implementation of Unix dc and POSIX bc with GNU and BSD extensions. Finished, but well-maintained.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
bc/tests/bc
Gavin Howard 9ffdd5ec69
Fix the second parse bug found by oguz-ismail
10 months ago
..
errors Fix a crash found by AFL++ 1 year ago
scripts Add more to the second ifs script test 1 year ago
abs.txt Add abs() as a built in 4 years ago
abs_results.txt Add abs() as a built in 4 years ago
add.txt Add more add and subtract tests 2 years ago
add_results.txt Add more add and subtract tests 2 years ago
all.txt Add a test for the fix in the previous commit 10 months ago
arctangent.txt Add a test to test more lines 2 years ago
arctangent_results.txt Add a test to test more lines 2 years ago
arrays.txt Add some tests to test some (former) VSC test failures 4 years ago
arrays_results.txt Add some tests to test some (former) VSC test failures 4 years ago
assignments.txt Add a few more assignment tests 3 years ago
assignments_results.txt Add a few more assignment tests 3 years ago
bitfuncs.txt Change the bitfunc tests again 1 year ago
bitfuncs_results.txt Change the bitfunc tests again 1 year ago
boolean.txt Make the or operator precedence match GNU bc 4 years ago
boolean_results.txt Make the or operator precedence match GNU bc 4 years ago
comp.txt Add more comparison tests 3 years ago
comp_results.txt Add more comparison tests 3 years ago
cosine.txt Start adding dc test code 4 years ago
cosine_results.txt Start adding dc test code 4 years ago
decimal.txt Add a few tests to hit some branches in the lexer 1 year ago
decimal_results.txt Add a few tests to hit some branches in the lexer 1 year ago
divide.txt Add more divide tests 3 years ago
divide_results.txt Add more divide tests 3 years ago
divmod.txt Add modexp and divmod to bc 1 year ago
divmod_results.txt Add modexp and divmod to bc 1 year ago
engineering.txt Add tests for upcoming scientific and engineering notation 4 years ago
engineering_results.txt Add tests for upcoming scientific and engineering notation 4 years ago
errors.txt Fix a bug I found while fixing the bug fixed in previous commit 1 year ago
exponent.txt Start adding dc test code 4 years ago
exponent_results.txt Start adding dc test code 4 years ago
functions.txt Add a functions test 3 years ago
functions_results.txt Add a functions test 3 years ago
globals.txt Add another global test 4 years ago
globals_results.txt Add another global test 4 years ago
leadingzero.txt Add tests for the new features 1 year ago
leadingzero_results.txt Add tests for the new features 1 year ago
length.txt Add tests for length(0) 2 years ago
length_results.txt Make a change that FreeBSD requested 2 years ago
letters.txt Fix the letter tests 4 years ago
letters_results.txt Fix the letter tests 4 years ago
lib2.txt Add gcd and lcm to lib2 1 year ago
lib2_results.txt Add gcd and lcm to lib2 1 year ago
log.txt Start adding dc test code 4 years ago
log_results.txt Start adding dc test code 4 years ago
misc.txt Start adding dc test code 4 years ago
misc1.txt Add some tests 4 years ago
misc1_results.txt Add some tests 4 years ago
misc2.txt Add a test that crashes bc 2 years ago
misc2_results.txt Add a test that crashes bc 2 years ago
misc3.txt Add a parse test for bc based on afl test cases 4 years ago
misc3_results.txt Add a parse test for bc based on afl test cases 4 years ago
misc4.txt Add a test 3 years ago
misc4_results.txt Add a test 3 years ago
misc5.txt Add missing tests 3 years ago
misc5_results.txt Add missing tests 3 years ago
misc6.txt Add tests for files with missing else clauses 2 years ago
misc6_results.txt Add tests for files with missing else clauses 2 years ago
misc7.txt Add tests for files with missing else clauses 2 years ago
misc7_results.txt Add tests for files with missing else clauses 2 years ago
misc8.txt Add a test for the fix in the previous commit 10 months ago
misc8_results.txt Add a test for the fix in the previous commit 10 months ago
misc_results.txt Start adding dc test code 4 years ago
modexp.txt Add modexp and divmod to bc 1 year ago
modexp_results.txt Add modexp and divmod to bc 1 year ago
modulus.txt Add a mod test that bc failed 4 years ago
modulus_results.txt Add a mod test that bc failed 4 years ago
multiply.txt Fix multiply tests 3 years ago
multiply_results.txt Add a few more multiply tests 3 years ago
pi.txt Start adding dc test code 4 years ago
pi_results.txt Make printing not use backslash on last character 1 year ago
places.txt Add a test for a crash found by afl 3 years ago
places_results.txt Add a test for a crash found by afl 3 years ago
posix_errors.txt Fix the second parse bug found by oguz-ismail 10 months ago
power.txt Change ops that need integers to accept integers with scale 1 year ago
power_results.txt Change ops that need integers to accept integers with scale 1 year ago
print2.txt Fix another bug in a test 3 years ago
print2_results.txt Fix bugs in a test 3 years ago
rand.txt Actually properly test seed less than 1 2 years ago
rand_results.txt Actually properly test seed less than 1 2 years ago
read.txt Add read tests 4 years ago
read_errors.txt Add read tests 4 years ago
read_results.txt Add read tests 4 years ago
recursive_arrays.txt Add some tests for better coverage 1 year ago
recursive_arrays_results.txt Add some tests for better coverage 1 year ago
scale.txt Add a scale test 3 years ago
scale_results.txt Add a scale test 3 years ago
scientific.txt Add tests for upcoming scientific and engineering notation 4 years ago
scientific_results.txt Add tests for upcoming scientific and engineering notation 4 years ago
shift.txt Add more shift tests 3 years ago
shift_results.txt Add more shift tests 3 years ago
sine.txt Start adding dc test code 4 years ago
sine_results.txt Start adding dc test code 4 years ago
sqrt.txt Add a sqrt test 4 years ago
sqrt_results.txt Add a sqrt test 4 years ago
stdin.txt Add a test for an upcoming change 2 years ago
stdin1.txt Change the tests 2 years ago
stdin1_results.txt Change the tests 2 years ago
stdin2.txt Add more to bc stdin tests 1 year ago
stdin2_results.txt Add more to bc stdin tests 1 year ago
stdin_results.txt Add a test for an upcoming change 2 years ago
strings.txt Add a test for the new slabvec redesign 1 year ago
strings_results.txt Add a test for the new slabvec redesign 1 year ago
subtract.txt Add more add and subtract tests 2 years ago
subtract_results.txt Add more add and subtract tests 2 years ago
timeconst.sh Implement out-of-source builds 11 months ago
trunc.txt Add more tests for the new operators 4 years ago
trunc_results.txt Add more tests for the new operators 4 years ago
vars.txt Start adding dc test code 4 years ago
vars_results.txt Make printing not use backslash on last character 1 year ago
void.txt Add void tests to see if it can be used as a var/array/function name 4 years ago
void_results.txt Add void tests to see if it can be used as a var/array/function name 4 years ago