summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/mp/future.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/mp/future.js b/test/mp/future.js
index 3d47c28..25f7a21 100644
--- a/test/mp/future.js
+++ b/test/mp/future.js
@@ -62,10 +62,15 @@ suite.addBatch({
"The manaportal dye": {
topic: load("mp/dye", "mp/resource").expression("mp").document(),
"parseDyeString": {
- "Extracts the dye channel data from the dyestring": function(mp) {
+ "extracts the dye channel data from the dyestring": function(mp) {
assert.equal(mp.dye.parseDyeString(dyeString), dyeData);
}
},
+ "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", {