@tweenjs/tween.js 17.3.0 → 17.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,91 @@
1
+ export declare const tests: {
2
+ hello(test: Test): void;
3
+ 'TWEEN.getAll'(test: Test): void;
4
+ 'TWEEN object stores tweens automatically on start'(test: Test): void;
5
+ 'TWEEN.removeAll()'(test: Test): void;
6
+ 'TWEEN.add()'(test: Test): void;
7
+ 'TWEEN.remove()'(test: Test): void;
8
+ 'TWEEN.update() returns false when done (no tweens to animate)'(test: Test): void;
9
+ 'TWEEN.update() returns true when there are active tweens'(test: Test): void;
10
+ 'TWEEN.update() removes tweens when they are finished'(test: Test): void;
11
+ 'TWEEN.update() does not remove tweens when they are finished with preserve flag'(test: Test): void;
12
+ 'Unremoved tweens which have been updated past their finish time may go backward in time'(test: Test): void;
13
+ constructor(test: Test): void;
14
+ 'Return the same tween instance for method chaining'(test: Test): void;
15
+ 'Tween existing property'(test: Test): void;
16
+ 'Tween non-existing property'(test: Test): void;
17
+ 'Tween non-null property'(test: Test): void;
18
+ 'Tween function property'(test: Test): void;
19
+ 'Tween boolean property'(test: Test): void;
20
+ 'Tween null property'(test: Test): void;
21
+ 'Tween undefined property'(test: Test): void;
22
+ 'Tween relative positive value'(test: Test): void;
23
+ 'Tween relative negative value'(test: Test): void;
24
+ 'String values without a + or - sign should not be interpreted as relative'(test: Test): void;
25
+ 'Tween relative positive value, with yoyo'(test: Test): void;
26
+ 'Tween relative negative value, with yoyo'(test: Test): void;
27
+ 'Tween relative positive array interpolation values'(test: Test): void;
28
+ 'String values without a + or - sign should not be interpreted as relative with array interpolation values'(test: Test): void;
29
+ 'animate values in an array'(test: Test): void;
30
+ 'animate values in a nested array'(test: Test): void;
31
+ 'Test TWEEN.Tween.start()'(test: Test): void;
32
+ 'Ensure tweens start without calling start() method.'(test: Test): void;
33
+ 'Test Tween.to() tweening towards a dynamic object'(test: Test): void;
34
+ 'Test TWEEN.Tween.stop()'(test: Test): void;
35
+ 'Test TWEEN.Tween.delay()'(test: Test): void;
36
+ 'Test TWEEN.Tween.easing()'(test: Test): void;
37
+ 'Test TWEEN.Tween.chain --with one tween'(test: Test): void;
38
+ 'Test TWEEN.Tween.chain --with several tweens in an array'(test: Test): void;
39
+ 'Test TWEEN.Tween.chain allows endless loops'(test: Test): void;
40
+ 'Test TWEEN.Tween.onStart'(test: Test): void;
41
+ 'Test TWEEN.Tween.onStop'(test: Test): void;
42
+ 'Test TWEEN.Tween.onUpdate'(test: Test): void;
43
+ 'Test TWEEN.Tween.onComplete'(test: Test): void;
44
+ 'TWEEN.Tween does not repeat by default'(test: Test): void;
45
+ 'Test single repeat happens only once'(test: Test): void;
46
+ 'Test Infinity repeat happens forever'(test: Test): void;
47
+ 'Test tweening relatively with repeat'(test: Test): void;
48
+ 'Test yoyo with repeat Infinity happens forever'(test: Test): void;
49
+ 'Test yoyo with repeat 1 happens once'(test: Test): void;
50
+ 'Test yoyo works with arrays'(test: Test): void;
51
+ 'Test yoyo can be stopped and restarted properly'(test: Test): void;
52
+ 'Test TWEEN.Tween.stopChainedTweens()'(test: Test): void;
53
+ 'Test TWEEN.Tween.chain progressess into chained tweens'(test: Test): void;
54
+ 'Test that TWEEN.Tween.end sets the final values.'(test: Test): void;
55
+ 'Test that TWEEN.Tween.end calls the onComplete callback of the tween.'(test: Test): void;
56
+ 'Ensure Tween.end() works after stopping a tween.'(test: Test): void;
57
+ 'Test delay adds delay before each repeat'(test: Test): void;
58
+ 'Test repeatDelay adds delay before each repeat'(test: Test): void;
59
+ 'Test repeatDelay and delay can be used together'(test: Test): void;
60
+ 'Tween.js compatible with Object.defineProperty getter / setters'(test: Test): void;
61
+ 'tween.isPlaying() is false before the tween starts'(test: Test): void;
62
+ 'tween.isPlaying() is true when a tween is started and before it ends'(test: Test): void;
63
+ 'tween.isPlaying() is false after a tween ends'(test: Test): void;
64
+ 'A zero-duration tween finishes at its starting time without an error.'(test: Test): void;
65
+ 'Custom group.getAll()'(test: Test): void;
66
+ 'Custom group stores tweens instead of global TWEEN group'(test: Test): void;
67
+ "Custom group.removeAll() doesn't conflict with global TWEEN group"(test: Test): void;
68
+ "Global TWEEN.removeAll() doesn't conflict with custom group"(test: Test): void;
69
+ "Custom group.add() doesn't conflict with global TWEEN group, or vice versa"(test: Test): void;
70
+ "Custom group.update() doesn't conflict with global TWEEN group"(test: Test): void;
71
+ "Global TWEEN.update() doesn't conflict with custom group"(test: Test): void;
72
+ 'Ensure tweens work without any group'(test: Test): void;
73
+ 'Stopping a tween within an update callback will not cause an error.'(test: Test): void;
74
+ 'Set the duration with .duration'(test: Test): void;
75
+ "Tween.group sets the tween's group."(test: Test): void;
76
+ 'Test TWEEN.Tween.pause() and TWEEN.Tween.resume()'(test: Test): void;
77
+ 'Test TWEEN.Tween.pause() and TWEEN.Tween.resume(), without groups'(test: Test): void;
78
+ 'Arrays in the object passed to to() are not modified by start().'(test: Test): void;
79
+ 'Tween.js animate nested object'(test: Test): void;
80
+ 'Tween.js animate nested object including relative value'(test: Test): void;
81
+ 'Test TWEEN.Tween with nested objects'(test: Test): void;
82
+ 'Test TWEEN.Tween.pause() and .resume() with nested objects'(test: Test): void;
83
+ };
84
+ declare type Test = {
85
+ ok(a: unknown, failMessage?: string): void;
86
+ equal(a: unknown, b: unknown, failMessage?: string): void;
87
+ deepEqual(a: unknown, b: unknown, failMessage?: string): void;
88
+ expect(n: number): void;
89
+ done(): void;
90
+ };
91
+ export {};