summaryrefslogtreecommitdiff
path: root/test/mp/future.js
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace>2013-06-28 18:39:23 +1200
committerFreeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace>2013-06-28 18:39:23 +1200
commit24441e19868c5bb9f8efd404f23c3ae02267e5ce (patch)
treed972b10069d404b5cf7ff6385c22842f9b9792c0 /test/mp/future.js
parent1ff81edeef89954d1cb97cbe4e63356b6506dac9 (diff)
downloadmanaportal-24441e19868c5bb9f8efd404f23c3ae02267e5ce.tar.gz
manaportal-24441e19868c5bb9f8efd404f23c3ae02267e5ce.tar.bz2
manaportal-24441e19868c5bb9f8efd404f23c3ae02267e5ce.tar.xz
manaportal-24441e19868c5bb9f8efd404f23c3ae02267e5ce.zip
Move tests for dyestring parse and reconstruct
It all seems to be working now, and should be considered stable. Should parseColor really belong in the resource manager?
Diffstat (limited to 'test/mp/future.js')
-rw-r--r--test/mp/future.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/mp/future.js b/test/mp/future.js
index 735342e..abcdffe 100644
--- a/test/mp/future.js
+++ b/test/mp/future.js
@@ -33,10 +33,6 @@ function unshiftLoadImageBind(url, tests) {
return tests;
}
-function testDyeParse(expected, input, mp) {
- assert.dyeDataEqual(mp.dye.parseDyeString(input), expected);
-}
-
function testDye(err, dyed, dyeable, mp) {
var input = dyeable.data;
var expected = dyed.data;
@@ -48,14 +44,6 @@ function testDye(err, dyed, dyeable, mp) {
suite.addBatch({
"The manaportal dye": {
topic: load("mp/dye", "mp/resource").expression("mp").document(),
- "parseDyeString": {
- "extracts the dye channel data from the dyestring": testDyeParse.bind(null, dyeData, dyeString)
- },
- "asDyeString": {
- "reconstructs the dyestring from the dye channel data": function(mp) {
- assert.equal(mp.dye.asDyeString(dyeData), dyeString);
- }
- },
"dyeImage": {
"with the big recolorable cake": unshiftLoadImageBind("test/data/bigcake.png", {
"to the big white cake dyed by TMWW": unshiftLoadImageBind("test/data/whitecake.png", {