File bear-0.8.7-test-export.patch of Package bear
diff -Ndurp bear-0.8.7/src/bear.erl bear-0.8.7-test-export/src/bear.erl
--- bear-0.8.7/src/bear.erl 2018-07-01 04:02:08.000000000 +0300
+++ bear-0.8.7-test-export/src/bear.erl 2018-10-30 17:16:06.060658988 +0200
@@ -25,7 +25,32 @@
-module(bear).
-%-compile([export_all]).
+-ifdef(TEST).
+-export([scan_values/1, scan_values/2,
+ scan_values2/2, scan_values2/3,
+ revsort/1,
+ arithmetic_mean/1,
+ geometric_mean/1,
+ harmonic_mean/1,
+ percentile/3,
+ variance/2,
+ std_deviation/2,
+ skewness/2,
+ kurtosis/2,
+ update_bin/3,
+ get_covariance/2,
+ ranks_of/1,
+ get_pearson_correlation/2,
+ round_bin/1, round_bin/2,
+ get_bin_width/2,
+ get_bin_count/3,
+ get_kendall_correlation/2,
+ get_spearman_correlation/2,
+ math_log/1,
+ inverse/1,
+ get_hist_bins/4,
+ perc/2]).
+-endif.
-export([
get_statistics/1,