sparkartgroupinc/handlebars-helper

2014-04-04 01:35:54
6.0
7.0
✓8.0
✓9.0
✓10.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓5.1
✓6.0
✓5.0.5
✓4.0
✓11.0
✓11.5
✓11.6
✓12.0
✓15.0
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted not ok 49 date successfully formatted --- operator: equal expected: "Monday at 10:00PM" actual: "Monday at %-l:00PM" ... not ok 50 date successfully formatted --- operator: equal expected: "Monday at 8:00PM" actual: "Monday at %-l:00PM" ... ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 113 # fail 2
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted not ok 49 date successfully formatted --- operator: equal expected: "Monday at 10:00PM" actual: "Monday at %-l:00PM" ... not ok 50 date successfully formatted --- operator: equal expected: "Monday at 8:00PM" actual: "Monday at %-l:00PM" ... ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 113 # fail 2
2014-04-04 01:34:28
6.0
7.0
✓8.0
✓9.0
✓10.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓5.1
✓6.0
✓5.0.5
✓4.0
✓11.0
✓11.5
✓11.6
✓12.0
✓15.0
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted not ok 49 date successfully formatted --- operator: equal expected: "Monday at 10:00PM" actual: "Monday at %-l:00PM" ... not ok 50 date successfully formatted --- operator: equal expected: "Monday at 8:00PM" actual: "Monday at %-l:00PM" ... ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 113 # fail 2
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted not ok 49 date successfully formatted --- operator: equal expected: "Monday at 10:00PM" actual: "Monday at %-l:00PM" ... not ok 50 date successfully formatted --- operator: equal expected: "Monday at 8:00PM" actual: "Monday at %-l:00PM" ... ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 113 # fail 2
2014-04-04 01:29:51
6.0
7.0
✓8.0
✓9.0
✓10.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓5.1
✓6.0
✓5.0.5
✓4.0
✓11.0
✓11.5
✓11.6
✓12.0
✓15.0
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 115 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted not ok 49 date successfully formatted --- operator: equal expected: "Monday at 10:00PM" actual: "Monday at %-l:00PM" ... not ok 50 date successfully formatted --- operator: equal expected: "Monday at 8:00PM" actual: "Monday at %-l:00PM" ... ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 113 # fail 2
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted not ok 49 date successfully formatted --- operator: equal expected: "Monday at 10:00PM" actual: "Monday at %-l:00PM" ... not ok 50 date successfully formatted --- operator: equal expected: "Monday at 8:00PM" actual: "Monday at %-l:00PM" ... ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Converts undefined into 0, then adds ok 87 Converts null into 0, then adds ok 88 Adds three numbers # subtract ok 89 Subtract positive integers ok 90 Subtract negative and positive integers ok 91 Subtract negative integers ok 92 Parse and subtract strings ok 93 Parse a string and subtract it from an integer ok 94 Subtracts floating point numbers ok 95 Converts undefined into 0, then subtracts ok 96 Converts null into 0, then subtracts ok 97 Subtracts three numbers # multiply ok 98 Multiply positive integers ok 99 Multiply negative and positive integers ok 100 Multiply negative integers ok 101 Parse and multiply strings ok 102 Parse a string and multiply it from an integer ok 103 Multiplys floating point numbers ok 104 Converts undefined into 0, then multiplies ok 105 Converts null into 0, then multiplies ok 106 Multiplys three numbers # divide ok 107 Divide positive integers ok 108 Divide negative and positive integers ok 109 Divide negative integers ok 110 Parse and divide strings ok 111 Parse a string and divide it from an integer ok 112 Divides floating point numbers ok 113 Converts undefined into 0, then divides ok 114 Converts null into 0, then divides ok 115 Divides three numbers 1..115 # tests 115 # pass 113 # fail 2
2014-04-04 00:57:40
6.0
7.0
✓8.0
✓9.0
✓10.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓5.1
✓6.0
✓5.0.5
✓4.0
✓11.0
✓11.5
✓11.6
✓12.0
✓15.0
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted not ok 49 date successfully formatted --- operator: equal expected: "Monday at 10:00PM" actual: "Monday at %-l:00PM" ... not ok 50 date successfully formatted --- operator: equal expected: "Monday at 8:00PM" actual: "Monday at %-l:00PM" ... ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 105 # fail 2
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted not ok 49 date successfully formatted --- operator: equal expected: "Monday at 10:00PM" actual: "Monday at %-l:00PM" ... not ok 50 date successfully formatted --- operator: equal expected: "Monday at 8:00PM" actual: "Monday at %-l:00PM" ... ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 105 # fail 2
2014-04-04 00:45:03
6.0
7.0
✓8.0
✓9.0
✓10.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓5.1
✓6.0
✓5.0.5
✓4.0
✓11.0
✓11.5
✓11.6
✓12.0
✓15.0
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
TAP version 13 # HH registers helpers ok 1 replace helper is registered # lowercase helper ok 2 makes string lowercase # uppercase helper ok 3 makes string uppercase # replace helper ok 4 replaces a string with a string # encode helper ok 5 URI encodes string # length ok 6 returns array's length ok 7 returns number of properties in object ok 8 returns number of characters in string # contains ok 9 renders data within block when item is in array ok 10 renders else block when item is not in array ok 11 renders data within block when item is in object ok 12 renders else block when item is not in object ok 13 renders data within block when substring is in string ok 14 renders else block when substring is not in string ok 15 executes block in parent context # first ok 16 renders data within block one time with first item as context ok 17 renders data within block twice with first two items as context ok 18 renders data within block even if count is higher than length ok 19 renders data within block one time with first item as context, object ok 20 renders data within block twice with first two items as context, object # last ok 21 renders data within block one time with last item as context ok 22 renders data within block twice with last two items as context ok 23 renders data within block even if count is higher than length ok 24 renders data within block one time with last item as context, object ok 25 renders data within block twice with last two items as context, object # between ok 26 renders data within block with the last four items as contexts ok 27 renders data within block with items between index 1 and 3 ok 28 renders data within block with items between index -4 and -1 # range ok 29 renders data within block with items 2 through the end ok 30 renders data within block with 2 items starting from index 1 ok 31 renders data within block with 2 items starting from index -3 # where ok 32 renders data within block with items matching key/value pair ok 33 renders data within block with items matching key/value pair ok 34 renders data within block with one item matching key/value pair # shuffle ok 35 shuffled collection contains same elements as original collection # reverse ok 36 renders data within block with items in reverse order # join ok 37 renders joined data from array ok 38 renders joined data from object # ago ok 39 renders "Just now" for a date within a second of now ok 40 renders "30 seconds ago" for a date 30 seconds in the past ok 41 renders "30 minutes ago" for a date 30 minutes in the past ok 42 renders "12 hours ago" for a date 12 hours in the past ok 43 renders "10 days ago" for a date 10 days in the past ok 44 renders "6 months ago" for a date 6 months in the past ok 45 renders "2 years ago" for a date 2 years in the past ok 46 renders "2 years ago" for a date 2 years in the past (string) # formatDate ok 47 date successfully formatted ok 48 date successfully formatted ok 49 date successfully formatted ok 50 date successfully formatted ok 51 date successfully formatted ok 52 date successfully formatted # equal ok 53 Renders positive block when items are equal ok 54 Renders positive block when items are equal, of different types ok 55 Renders inverse block when items are inequal ok 56 Renders positive block when items are equal, exact check ok 57 Renders inverse block when items are equal, of different types, exact check ok 58 Renders inverse block when items are inequal, inverse is used ok 59 executes block in parent context # greater ok 60 Renders positive block when left is greater ok 61 Renders inverse block when left is less ok 62 Renders inverse block when left and right are equal ok 63 Renders positive block when left is greater, or equal check ok 64 Renders positive block when left and right are equal, or equal check ok 65 Renders positive block when left is less, inverse is used ok 66 Renders positive block when left and right are equal, inverse is used ok 67 executes block in parent context # less ok 68 Renders positive block when left is less ok 69 Renders inverse block when left is less ok 70 Renders inverse block when left and right are equal ok 71 Renders positive block when left is less, or equal check ok 72 Renders positive block when left and right are equal, or equal check ok 73 Renders positive block when left is less, inverse is used ok 74 Renders positive block when left and right are equal, inverse is used ok 75 executes block in parent context # times ok 76 Renders block 1 times ok 77 Renders block 5 times ok 78 Renders block 1 times, zero based ok 79 Renders block 5 times, zero based # add ok 80 Add positive integers ok 81 Add negative and positive integers ok 82 Add negative integers ok 83 Parse and add strings ok 84 Parse a string and add it to an integer ok 85 Adds floating point numbers ok 86 Adds three numbers # subtract ok 87 Subtract positive integers ok 88 Subtract negative and positive integers ok 89 Subtract negative integers ok 90 Parse and subtract strings ok 91 Parse a string and subtract it from an integer ok 92 Subtracts floating point numbers ok 93 Subtracts three numbers # multiply ok 94 Multiply positive integers ok 95 Multiply negative and positive integers ok 96 Multiply negative integers ok 97 Parse and multiply strings ok 98 Parse a string and multiply it from an integer ok 99 Multiplys floating point numbers ok 100 Multiplys three numbers # divide ok 101 Divide positive integers ok 102 Divide negative and positive integers ok 103 Divide negative integers ok 104 Parse and divide strings ok 105 Parse a string and divide it from an integer ok 106 Divides floating point numbers ok 107 Divides three numbers 1..107 # tests 107 # pass 107 # ok
firefox/20.0