adding nucleic2 test
This commit is contained in:
parent
d490992f99
commit
578b745dfe
|
@ -944,7 +944,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
var checkedGreaterThan = function(M, x, y) {
|
var checkedGreaterThan = function(M, x, y) {
|
||||||
var i;
|
|
||||||
// fast path optimization: binop comparison on fixnums
|
// fast path optimization: binop comparison on fixnums
|
||||||
if (arguments.length === 3) {
|
if (arguments.length === 3) {
|
||||||
if (typeof(x) === 'number' && typeof(y) === 'number') {
|
if (typeof(x) === 'number' && typeof(y) === 'number') {
|
||||||
|
@ -955,6 +954,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
var checkedGreaterThanSlowPath = function(M, args) {
|
var checkedGreaterThanSlowPath = function(M, args) {
|
||||||
|
var i;
|
||||||
if (! isNumber(args[0])) {
|
if (! isNumber(args[0])) {
|
||||||
raiseArgumentTypeError(M, '>', 'number', 0, args[0]);
|
raiseArgumentTypeError(M, '>', 'number', 0, args[0]);
|
||||||
}
|
}
|
||||||
|
|
1
tests/more-tests/nucleic2.expected
Normal file
1
tests/more-tests/nucleic2.expected
Normal file
|
@ -0,0 +1 @@
|
||||||
|
33.797594890762696
|
3511
tests/more-tests/nucleic2.rkt
Normal file
3511
tests/more-tests/nucleic2.rkt
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -49,3 +49,4 @@
|
||||||
(test "more-tests/graphs.rkt")
|
(test "more-tests/graphs.rkt")
|
||||||
(test "more-tests/scheme-whalesong.rkt")
|
(test "more-tests/scheme-whalesong.rkt")
|
||||||
(test "more-tests/nestedloop.rkt")
|
(test "more-tests/nestedloop.rkt")
|
||||||
|
(test "more-tests/nucleic2.rkt")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user