d3/test/arrays
Mike Bostock 301b6d3b42 Restore undefined behavior for d3.bisect.
Rather than return NaN, this change restores the previous undefined behavior
when an unorderable value is used for bisection. After discussing with Jason, I
think this is more consistent given that d3.bisect also requires that the input
array is sortable, and therefore only contains orderable values. Thus, it is the
responsibility of the caller to check that the search value is defined before
doing bisection, and so this commit fixes the threshold scale rather than the
bisect method. (Also, this is consistent with the existing quantile scale.)
2013-06-18 16:16:47 -07:00
..
ascending-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
bisect-test.js Restore undefined behavior for d3.bisect. 2013-06-18 16:16:47 -07:00
descending-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
entries-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
extent-test.js Fixes for non-orderable values. 2013-06-18 10:27:27 -07:00
keys-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
map-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
max-test.js Fixes for non-orderable values. 2013-06-18 10:27:27 -07:00
mean-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
median-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
merge-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
min-test.js Fixes for non-orderable values. 2013-06-18 10:27:27 -07:00
nest-test.js Use _ to disambiguate local vs. global d3. 2013-03-14 15:14:12 -07:00
permute-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
quantile-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
range-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
set-test.js Use _ to disambiguate local vs. global d3. 2013-03-14 15:14:12 -07:00
sum-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
transpose-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
values-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
zip-test.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00