projects
/
string-lerp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More efficient way to get LTR diffLerp editing.
[string-lerp.git]
/
tests
/
string-lerp.js
diff --git
a/tests/string-lerp.js
b/tests/string-lerp.js
index
8ef0bc7
..
921e199
100644
(file)
--- a/
tests/string-lerp.js
+++ b/
tests/string-lerp.js
@@
-73,9
+73,11
@@
JS.Test.describe('diff lerp', function () { with (this) {
}});
it("edits strings", function () { with (this) {
}});
it("edits strings", function () { with (this) {
+ assertEqual(A, lerp(A, B, 0.01));
assertEqual("I do not like treen eggs and ham?", lerp(A, B, 0.3));
assertEqual("I do not like treen eggs and ham?", lerp(A, B, 0.3));
- assertEqual("I do not like them,
S
ggs and ham?", lerp(A, B, 0.5));
+ assertEqual("I do not like them,
e
ggs and ham?", lerp(A, B, 0.5));
assertEqual("I do not like them, Sam-Iham?", lerp(A, B, 0.9));
assertEqual("I do not like them, Sam-Iham?", lerp(A, B, 0.9));
+ assertEqual(B, lerp(A, B, 0.99));
}});
}});
}});
}});