sendscript 0.0.3 → 0.0.4

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.
@@ -1,15 +0,0 @@
1
- TAP version 14
2
- # Subtest: return a constant value
3
- 1..1
4
- ok 1 - should be equal
5
- ok 1 - return a constant value # time=5.997ms
6
-
7
- # Subtest: use function calls as arguments
8
- 1..4
9
- ok 1 - should be equal
10
- ok 2 - should be equal
11
- ok 3 - should be equal
12
- ok 4 - should be equal
13
- ok 2 - use function calls as arguments # time=1.417ms
14
-
15
- 1..2
@@ -1,26 +0,0 @@
1
- TAP version 14
2
- # Subtest: curry function
3
- # Subtest: curry function returns a function
4
- ok 1 - returns a function
5
- 1..1
6
- ok 1 - curry function returns a function # time=4.318ms
7
-
8
- # Subtest: curried function returns correct result
9
- ok 1 - returns correct result
10
- 1..1
11
- ok 2 - curried function returns correct result # time=0.913ms
12
-
13
- # Subtest: curried function handles partial application
14
- ok 1 - handles partial application
15
- 1..1
16
- ok 3 - curried function handles partial application # time=0.785ms
17
-
18
- # Subtest: curried function handles multiple arguments
19
- ok 1 - handles multiple arguments
20
- 1..1
21
- ok 4 - curried function handles multiple arguments # time=0.71ms
22
-
23
- 1..4
24
- ok 1 - curry function # time=15.786ms
25
-
26
- 1..1
@@ -1,58 +0,0 @@
1
- TAP version 14
2
- # Subtest: should evaluate basic expressions correctly
3
- 1..4
4
- ok 1 - 1 + 2 = 3
5
- ok 2 - 5 - 3 = 2
6
- ok 3 - 4 * 3 = 12
7
- ok 4 - 10 / 2 = 5
8
- ok 1 - should evaluate basic expressions correctly # time=8.016ms
9
-
10
- # Subtest: should be able to call a partially applied function
11
- ok 1 - should be equal
12
- ok 2 - should be equal
13
- 1..2
14
- ok 2 - should be able to call a partially applied function # time=1.168ms
15
-
16
- # Subtest: should handle let expressions
17
- 1..1
18
- ok 1 - x + y = 5
19
- ok 3 - should handle let expressions # time=1.027ms
20
-
21
- # Subtest: should handle fn expressions
22
- 1..2
23
- ok 1 - should return a function
24
- ok 2 - 1 + 2 = 3
25
- ok 4 - should handle fn expressions # time=1.4ms
26
-
27
- # Subtest: should throw an error for unknown expressions
28
- 1..1
29
- ok 1 - should throw an error for unknown expressions
30
- ok 5 - should throw an error for unknown expressions # time=0.932ms
31
-
32
- # Subtest: should evaluate nested expressions correctly
33
- 1..1
34
- ok 1 - 2 * (1 + 2) = 6
35
- ok 6 - should evaluate nested expressions correctly # time=0.746ms
36
-
37
- # Subtest: should concatenate two arrays
38
- 1..1
39
- ok 1 - should be equivalent
40
- ok 7 - should concatenate two arrays # time=2.254ms
41
-
42
- # Subtest: should fetch the reference to the item on the env
43
- ok 1 - should be equivalent
44
- ok 2 - should be equivalent
45
- 1..2
46
- ok 8 - should fetch the reference to the item on the env # time=0.536ms
47
-
48
- # Subtest: should reject with the error of the called function
49
- ok 1 - expected to reject
50
- 1..1
51
- ok 9 - should reject with the error of the called function # time=1.386ms
52
-
53
- # Subtest: should not exec expressions in an object
54
- ok 1 - should be equivalent
55
- 1..1
56
- ok 10 - should not exec expressions in an object # time=1.079ms
57
-
58
- 1..10