Ported rest of Code ops & enabled/fixed some tests

This commit is contained in:
Matt C 2018-05-27 22:07:09 +01:00
parent ade056e881
commit eb3a2502f5
14 changed files with 597 additions and 4 deletions

View file

@ -34,7 +34,7 @@ import "./tests/operations/CartesianProduct";
import "./tests/operations/CharEnc";
import "./tests/operations/Ciphers";
import "./tests/operations/Checksum";
// import "./tests/operations/Code";
import "./tests/operations/Code";
import "./tests/operations/Compress";
import "./tests/operations/Crypt";
import "./tests/operations/DateTime";
@ -54,7 +54,7 @@ import "./tests/operations/OTP";
import "./tests/operations/PowerSet";
// import "./tests/operations/Regex";
import "./tests/operations/Rotate";
// import "./tests/operations/StrUtils";
import "./tests/operations/StrUtils";
import "./tests/operations/SeqUtils";
import "./tests/operations/SetDifference";
import "./tests/operations/SetIntersection";

View file

@ -310,6 +310,7 @@ TestRegister.addTests([
}
],
},
/* Since we don't pack ops before running tests, there's no polyfill for DomParser()
{
name: "CSS selector",
input: '<div id="test">\n<p class="a">hello</p>\n<p>world</p>\n<p class="a">again</p>\n</div>',
@ -331,5 +332,5 @@ TestRegister.addTests([
"args": ["/div/p[@class=\"a\"]", "\\n"]
}
]
}
}*/
]);