feross/buffer

2014-09-12 02:32:38
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
✓4.0
✓5.0
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
✓11.0
✓12.0
✓13.0
✓14.0
✓15.0
✓16.0
✓17.0
✓18.0
✓19.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓3.0
✓3.5
✓3.6
✓4.0
✓5.0
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
✓11.0
✓12.0
✓13.0
✓14.0
✓15.0
✓16.0
✓17.0
✓18.0
✓19.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓5.1
✓6.0
✓12.0
✓15.0
✓6.0
✓6.0
4.2
android-browser/4.2
timeout waiting to hear back from android-browser/4.2
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 74 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 75 should be equal .get() is deprecated. Access using array indexes instead. ok 76 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 77 should be equal ok 78 should be equal # buffer.toJSON ok 79 should be equivalent # buffer.copy ok 80 should be equal # test offset returns are correct ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal ok 85 should be equal # concat() a varying number of buffers ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # fill ok 91 should be equal # fill (string) ok 92 should be equal ok 93 should be equal # copy() empty buffer with sourceEnd=0 ok 94 should be equal # copy() after slice() ok 95 should be equivalent # buffer.slice sets indexes ok 96 should be equal # buffer.slice out of range ok 97 should be equal ok 98 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 99 should be equal ok 100 should be equal ok 101 should be equal # Buffer.isBuffer ok 102 should be equal ok 103 should be equal ok 104 should be equal # Buffer.toArrayBuffer ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal # utf8 buffer to base64 ok 113 should be equal # utf8 buffer to hex ok 114 should be equal # utf8 to utf8 ok 115 should be equal # utf16le to utf16 ok 116 should be equal # utf16le to hex ok 117 should be equal # ascii buffer to base64 ok 118 should be equal # ascii buffer to hex ok 119 should be equal # base64 buffer to utf8 ok 120 should be equal # hex buffer to utf8 ok 121 should be equal # base64 buffer to ascii ok 122 should be equal # hex buffer to ascii ok 123 should be equal # base64 buffer to binary ok 124 should be equal # hex buffer to binary ok 125 should be equal # utf8 to binary ok 126 should be equal # detect utf16 surrogate pairs ok 127 should be equal # throw on orphaned utf16 surrogate lead code point ok 128 should be equal # throw on orphaned utf16 surrogate trail code point ok 129 should be equal # buffer.write string should get parsed as number ok 130 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 131 should be equal # writeUint8 with a negative number throws ok 132 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 should be equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal 1..182 # tests 182 # pass 182 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 37 should be equal .get() is deprecated. Access using array indexes instead. ok 38 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 39 should be equal ok 40 should be equal # buffer.toJSON ok 41 should be equivalent # buffer.copy ok 42 should be equal # test offset returns are correct ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal # concat() a varying number of buffers ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal # fill ok 53 should be equal # fill (string) ok 54 should be equal ok 55 should be equal # copy() empty buffer with sourceEnd=0 ok 56 should be equal # copy() after slice() ok 57 should be equivalent # buffer.slice sets indexes ok 58 should be equal # buffer.slice out of range ok 59 should be equal ok 60 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 61 should be equal ok 62 should be equal ok 63 should be equal # Buffer.isBuffer ok 64 should be equal ok 65 should be equal ok 66 should be equal # Buffer.toArrayBuffer ok 67 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 68 should be equal # utf8 buffer to hex ok 69 should be equal # utf8 to utf8 ok 70 should be equal # utf16le to utf16 ok 71 should be equal # utf16le to hex ok 72 should be equal # ascii buffer to base64 ok 73 should be equal # ascii buffer to hex ok 74 should be equal # base64 buffer to utf8 ok 75 should be equal # hex buffer to utf8 ok 76 should be equal # base64 buffer to ascii ok 77 should be equal # hex buffer to ascii ok 78 should be equal # base64 buffer to binary ok 79 should be equal # hex buffer to binary ok 80 should be equal # utf8 to binary ok 81 should be equal # detect utf16 surrogate pairs ok 82 should be equal # throw on orphaned utf16 surrogate lead code point ok 83 should be equal # throw on orphaned utf16 surrogate trail code point ok 84 should be equal # buffer.write string should get parsed as number ok 85 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 86 should be equal # writeUint8 with a negative number throws ok 87 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 108 object impl: skipping overflow test 1..108 # tests 108 # pass 108 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 74 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 75 should be equal .get() is deprecated. Access using array indexes instead. ok 76 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 77 should be equal ok 78 should be equal # buffer.toJSON ok 79 should be equivalent # buffer.copy ok 80 should be equal # test offset returns are correct ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal ok 85 should be equal # concat() a varying number of buffers ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # fill ok 91 should be equal # fill (string) ok 92 should be equal ok 93 should be equal # copy() empty buffer with sourceEnd=0 ok 94 should be equal # copy() after slice() ok 95 should be equivalent # buffer.slice sets indexes ok 96 should be equal # buffer.slice out of range ok 97 should be equal ok 98 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 99 should be equal ok 100 should be equal ok 101 should be equal # Buffer.isBuffer ok 102 should be equal ok 103 should be equal ok 104 should be equal # Buffer.toArrayBuffer ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal # utf8 buffer to base64 ok 113 should be equal # utf8 buffer to hex ok 114 should be equal # utf8 to utf8 ok 115 should be equal # utf16le to utf16 ok 116 should be equal # utf16le to hex ok 117 should be equal # ascii buffer to base64 ok 118 should be equal # ascii buffer to hex ok 119 should be equal # base64 buffer to utf8 ok 120 should be equal # hex buffer to utf8 ok 121 should be equal # base64 buffer to ascii ok 122 should be equal # hex buffer to ascii ok 123 should be equal # base64 buffer to binary ok 124 should be equal # hex buffer to binary ok 125 should be equal # utf8 to binary ok 126 should be equal # detect utf16 surrogate pairs ok 127 should be equal # throw on orphaned utf16 surrogate lead code point ok 128 should be equal # throw on orphaned utf16 surrogate trail code point ok 129 should be equal # buffer.write string should get parsed as number ok 130 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 131 should be equal # writeUint8 with a negative number throws ok 132 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 should be equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal 1..182 # tests 182 # pass 182 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 74 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 75 should be equal .get() is deprecated. Access using array indexes instead. ok 76 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 77 should be equal ok 78 should be equal # buffer.toJSON ok 79 should be equivalent # buffer.copy ok 80 should be equal # test offset returns are correct ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal ok 85 should be equal # concat() a varying number of buffers ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # fill ok 91 should be equal # fill (string) ok 92 should be equal ok 93 should be equal # copy() empty buffer with sourceEnd=0 ok 94 should be equal # copy() after slice() ok 95 should be equivalent # buffer.slice sets indexes ok 96 should be equal # buffer.slice out of range ok 97 should be equal ok 98 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 99 should be equal ok 100 should be equal ok 101 should be equal # Buffer.isBuffer ok 102 should be equal ok 103 should be equal ok 104 should be equal # Buffer.toArrayBuffer ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal # utf8 buffer to base64 ok 113 should be equal # utf8 buffer to hex ok 114 should be equal # utf8 to utf8 ok 115 should be equal # utf16le to utf16 ok 116 should be equal # utf16le to hex ok 117 should be equal # ascii buffer to base64 ok 118 should be equal # ascii buffer to hex ok 119 should be equal # base64 buffer to utf8 ok 120 should be equal # hex buffer to utf8 ok 121 should be equal # base64 buffer to ascii ok 122 should be equal # hex buffer to ascii ok 123 should be equal # base64 buffer to binary ok 124 should be equal # hex buffer to binary ok 125 should be equal # utf8 to binary ok 126 should be equal # detect utf16 surrogate pairs ok 127 should be equal # throw on orphaned utf16 surrogate lead code point ok 128 should be equal # throw on orphaned utf16 surrogate trail code point ok 129 should be equal # buffer.write string should get parsed as number ok 130 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 131 should be equal # writeUint8 with a negative number throws ok 132 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 should be equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal 1..182 # tests 182 # pass 182 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 73 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 74 should be equal .get() is deprecated. Access using array indexes instead. ok 75 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 76 should be equal ok 77 should be equal # buffer.toJSON ok 78 should be equivalent # buffer.copy ok 79 should be equal # test offset returns are correct ok 80 should be equal ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal # concat() a varying number of buffers ok 85 should be equal ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal # fill ok 90 should be equal # fill (string) ok 91 should be equal ok 92 should be equal # copy() empty buffer with sourceEnd=0 ok 93 should be equal # copy() after slice() ok 94 should be equivalent # buffer.slice sets indexes ok 95 should be equal # buffer.slice out of range ok 96 should be equal ok 97 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 98 should be equal ok 99 should be equal ok 100 should be equal # Buffer.isBuffer ok 101 should be equal ok 102 should be equal ok 103 should be equal # Buffer.toArrayBuffer ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal # utf8 buffer to base64 ok 112 should be equal # utf8 buffer to hex ok 113 should be equal # utf8 to utf8 ok 114 should be equal # utf16le to utf16 ok 115 should be equal # utf16le to hex ok 116 should be equal # ascii buffer to base64 ok 117 should be equal # ascii buffer to hex ok 118 should be equal # base64 buffer to utf8 ok 119 should be equal # hex buffer to utf8 ok 120 should be equal # base64 buffer to ascii ok 121 should be equal # hex buffer to ascii ok 122 should be equal # base64 buffer to binary ok 123 should be equal # hex buffer to binary ok 124 should be equal # utf8 to binary ok 125 should be equal # detect utf16 surrogate pairs ok 126 should be equal # throw on orphaned utf16 surrogate lead code point ok 127 should be equal # throw on orphaned utf16 surrogate trail code point ok 128 should be equal # buffer.write string should get parsed as number ok 129 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 130 should be equal # writeUint8 with a negative number throws ok 131 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 132 should be equal ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 152 object impl: skipping overflow test 1..152 # tests 152 # pass 152 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 73 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 74 should be equal .get() is deprecated. Access using array indexes instead. ok 75 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 76 should be equal ok 77 should be equal # buffer.toJSON ok 78 should be equivalent # buffer.copy ok 79 should be equal # test offset returns are correct ok 80 should be equal ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal # concat() a varying number of buffers ok 85 should be equal ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal # fill ok 90 should be equal # fill (string) ok 91 should be equal ok 92 should be equal # copy() empty buffer with sourceEnd=0 ok 93 should be equal # copy() after slice() ok 94 should be equivalent # buffer.slice sets indexes ok 95 should be equal # buffer.slice out of range ok 96 should be equal ok 97 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 98 should be equal ok 99 should be equal ok 100 should be equal # Buffer.isBuffer ok 101 should be equal ok 102 should be equal ok 103 should be equal # Buffer.toArrayBuffer ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal # utf8 buffer to base64 ok 112 should be equal # utf8 buffer to hex ok 113 should be equal # utf8 to utf8 ok 114 should be equal # utf16le to utf16 ok 115 should be equal # utf16le to hex ok 116 should be equal # ascii buffer to base64 ok 117 should be equal # ascii buffer to hex ok 118 should be equal # base64 buffer to utf8 ok 119 should be equal # hex buffer to utf8 ok 120 should be equal # base64 buffer to ascii ok 121 should be equal # hex buffer to ascii ok 122 should be equal # base64 buffer to binary ok 123 should be equal # hex buffer to binary ok 124 should be equal # utf8 to binary ok 125 should be equal # detect utf16 surrogate pairs ok 126 should be equal # throw on orphaned utf16 surrogate lead code point ok 127 should be equal # throw on orphaned utf16 surrogate trail code point ok 128 should be equal # buffer.write string should get parsed as number ok 129 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 130 should be equal # writeUint8 with a negative number throws ok 131 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 132 should be equal ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 152 object impl: skipping overflow test 1..152 # tests 152 # pass 152 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 37 should be equal .get() is deprecated. Access using array indexes instead. ok 38 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 39 should be equal ok 40 should be equal # buffer.toJSON ok 41 should be equivalent # buffer.copy ok 42 should be equal # test offset returns are correct ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal # concat() a varying number of buffers ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal # fill ok 53 should be equal # fill (string) ok 54 should be equal ok 55 should be equal # copy() empty buffer with sourceEnd=0 ok 56 should be equal # copy() after slice() ok 57 should be equivalent # buffer.slice sets indexes ok 58 should be equal # buffer.slice out of range ok 59 should be equal ok 60 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 61 should be equal ok 62 should be equal ok 63 should be equal # Buffer.isBuffer ok 64 should be equal ok 65 should be equal ok 66 should be equal # Buffer.toArrayBuffer ok 67 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 68 should be equal # utf8 buffer to hex ok 69 should be equal # utf8 to utf8 ok 70 should be equal # utf16le to utf16 ok 71 should be equal # utf16le to hex ok 72 should be equal # ascii buffer to base64 ok 73 should be equal # ascii buffer to hex ok 74 should be equal # base64 buffer to utf8 ok 75 should be equal # hex buffer to utf8 ok 76 should be equal # base64 buffer to ascii ok 77 should be equal # hex buffer to ascii ok 78 should be equal # base64 buffer to binary ok 79 should be equal # hex buffer to binary ok 80 should be equal # utf8 to binary ok 81 should be equal # detect utf16 surrogate pairs ok 82 should be equal # throw on orphaned utf16 surrogate lead code point ok 83 should be equal # throw on orphaned utf16 surrogate trail code point ok 84 should be equal # buffer.write string should get parsed as number ok 85 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 86 should be equal # writeUint8 with a negative number throws ok 87 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 108 object impl: skipping overflow test 1..108 # tests 108 # pass 108 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 37 should be equal .get() is deprecated. Access using array indexes instead. ok 38 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 39 should be equal ok 40 should be equal # buffer.toJSON ok 41 should be equivalent # buffer.copy ok 42 should be equal # test offset returns are correct ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal # concat() a varying number of buffers ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal # fill ok 53 should be equal # fill (string) ok 54 should be equal ok 55 should be equal # copy() empty buffer with sourceEnd=0 ok 56 should be equal # copy() after slice() ok 57 should be equivalent # buffer.slice sets indexes ok 58 should be equal # buffer.slice out of range ok 59 should be equal ok 60 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 61 should be equal ok 62 should be equal ok 63 should be equal # Buffer.isBuffer ok 64 should be equal ok 65 should be equal ok 66 should be equal # Buffer.toArrayBuffer ok 67 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 68 should be equal # utf8 buffer to hex ok 69 should be equal # utf8 to utf8 ok 70 should be equal # utf16le to utf16 ok 71 should be equal # utf16le to hex ok 72 should be equal # ascii buffer to base64 ok 73 should be equal # ascii buffer to hex ok 74 should be equal # base64 buffer to utf8 ok 75 should be equal # hex buffer to utf8 ok 76 should be equal # base64 buffer to ascii ok 77 should be equal # hex buffer to ascii ok 78 should be equal # base64 buffer to binary ok 79 should be equal # hex buffer to binary ok 80 should be equal # utf8 to binary ok 81 should be equal # detect utf16 surrogate pairs ok 82 should be equal # throw on orphaned utf16 surrogate lead code point ok 83 should be equal # throw on orphaned utf16 surrogate trail code point ok 84 should be equal # buffer.write string should get parsed as number ok 85 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 86 should be equal # writeUint8 with a negative number throws ok 87 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 108 object impl: skipping overflow test 1..108 # tests 108 # pass 108 # ok
2014-09-12 02:24:43
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
✓4.0
✓5.0
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
✓11.0
✓12.0
✓13.0
✓14.0
✓15.0
✓16.0
✓17.0
✓18.0
✓19.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓3.0
✓3.5
✓3.6
✓4.0
✓5.0
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
✓11.0
✓12.0
✓13.0
✓14.0
✓15.0
✓16.0
✓17.0
✓18.0
✓19.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓5.1
✓6.0
✓12.0
✓15.0
✓6.0
✓6.0
4.2
android-browser/4.2
timeout waiting to hear back from android-browser/4.2
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 74 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 75 should be equal .get() is deprecated. Access using array indexes instead. ok 76 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 77 should be equal ok 78 should be equal # buffer.toJSON ok 79 should be equivalent # buffer.copy ok 80 should be equal # test offset returns are correct ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal ok 85 should be equal # concat() a varying number of buffers ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # fill ok 91 should be equal # fill (string) ok 92 should be equal ok 93 should be equal # copy() empty buffer with sourceEnd=0 ok 94 should be equal # copy() after slice() ok 95 should be equivalent # buffer.slice sets indexes ok 96 should be equal # buffer.slice out of range ok 97 should be equal ok 98 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 99 should be equal ok 100 should be equal ok 101 should be equal # Buffer.isBuffer ok 102 should be equal ok 103 should be equal ok 104 should be equal # Buffer.toArrayBuffer ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal # utf8 buffer to base64 ok 113 should be equal # utf8 buffer to hex ok 114 should be equal # utf8 to utf8 ok 115 should be equal # utf16le to utf16 ok 116 should be equal # utf16le to hex ok 117 should be equal # ascii buffer to base64 ok 118 should be equal # ascii buffer to hex ok 119 should be equal # base64 buffer to utf8 ok 120 should be equal # hex buffer to utf8 ok 121 should be equal # base64 buffer to ascii ok 122 should be equal # hex buffer to ascii ok 123 should be equal # base64 buffer to binary ok 124 should be equal # hex buffer to binary ok 125 should be equal # utf8 to binary ok 126 should be equal # detect utf16 surrogate pairs ok 127 should be equal # throw on orphaned utf16 surrogate lead code point ok 128 should be equal # throw on orphaned utf16 surrogate trail code point ok 129 should be equal # buffer.write string should get parsed as number ok 130 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 131 should be equal # writeUint8 with a negative number throws ok 132 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 should be equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal 1..182 # tests 182 # pass 182 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 37 should be equal .get() is deprecated. Access using array indexes instead. ok 38 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 39 should be equal ok 40 should be equal # buffer.toJSON ok 41 should be equivalent # buffer.copy ok 42 should be equal # test offset returns are correct ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal # concat() a varying number of buffers ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal # fill ok 53 should be equal # fill (string) ok 54 should be equal ok 55 should be equal # copy() empty buffer with sourceEnd=0 ok 56 should be equal # copy() after slice() ok 57 should be equivalent # buffer.slice sets indexes ok 58 should be equal # buffer.slice out of range ok 59 should be equal ok 60 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 61 should be equal ok 62 should be equal ok 63 should be equal # Buffer.isBuffer ok 64 should be equal ok 65 should be equal ok 66 should be equal # Buffer.toArrayBuffer ok 67 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 68 should be equal # utf8 buffer to hex ok 69 should be equal # utf8 to utf8 ok 70 should be equal # utf16le to utf16 ok 71 should be equal # utf16le to hex ok 72 should be equal # ascii buffer to base64 ok 73 should be equal # ascii buffer to hex ok 74 should be equal # base64 buffer to utf8 ok 75 should be equal # hex buffer to utf8 ok 76 should be equal # base64 buffer to ascii ok 77 should be equal # hex buffer to ascii ok 78 should be equal # base64 buffer to binary ok 79 should be equal # hex buffer to binary ok 80 should be equal # utf8 to binary ok 81 should be equal # detect utf16 surrogate pairs ok 82 should be equal # throw on orphaned utf16 surrogate lead code point ok 83 should be equal # throw on orphaned utf16 surrogate trail code point ok 84 should be equal # buffer.write string should get parsed as number ok 85 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 86 should be equal # writeUint8 with a negative number throws ok 87 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 108 object impl: skipping overflow test 1..108 # tests 108 # pass 108 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 74 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 75 should be equal .get() is deprecated. Access using array indexes instead. ok 76 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 77 should be equal ok 78 should be equal # buffer.toJSON ok 79 should be equivalent # buffer.copy ok 80 should be equal # test offset returns are correct ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal ok 85 should be equal # concat() a varying number of buffers ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # fill ok 91 should be equal # fill (string) ok 92 should be equal ok 93 should be equal # copy() empty buffer with sourceEnd=0 ok 94 should be equal # copy() after slice() ok 95 should be equivalent # buffer.slice sets indexes ok 96 should be equal # buffer.slice out of range ok 97 should be equal ok 98 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 99 should be equal ok 100 should be equal ok 101 should be equal # Buffer.isBuffer ok 102 should be equal ok 103 should be equal ok 104 should be equal # Buffer.toArrayBuffer ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal # utf8 buffer to base64 ok 113 should be equal # utf8 buffer to hex ok 114 should be equal # utf8 to utf8 ok 115 should be equal # utf16le to utf16 ok 116 should be equal # utf16le to hex ok 117 should be equal # ascii buffer to base64 ok 118 should be equal # ascii buffer to hex ok 119 should be equal # base64 buffer to utf8 ok 120 should be equal # hex buffer to utf8 ok 121 should be equal # base64 buffer to ascii ok 122 should be equal # hex buffer to ascii ok 123 should be equal # base64 buffer to binary ok 124 should be equal # hex buffer to binary ok 125 should be equal # utf8 to binary ok 126 should be equal # detect utf16 surrogate pairs ok 127 should be equal # throw on orphaned utf16 surrogate lead code point ok 128 should be equal # throw on orphaned utf16 surrogate trail code point ok 129 should be equal # buffer.write string should get parsed as number ok 130 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 131 should be equal # writeUint8 with a negative number throws ok 132 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 should be equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal 1..182 # tests 182 # pass 182 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 74 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 75 should be equal .get() is deprecated. Access using array indexes instead. ok 76 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 77 should be equal ok 78 should be equal # buffer.toJSON ok 79 should be equivalent # buffer.copy ok 80 should be equal # test offset returns are correct ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal ok 85 should be equal # concat() a varying number of buffers ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # fill ok 91 should be equal # fill (string) ok 92 should be equal ok 93 should be equal # copy() empty buffer with sourceEnd=0 ok 94 should be equal # copy() after slice() ok 95 should be equivalent # buffer.slice sets indexes ok 96 should be equal # buffer.slice out of range ok 97 should be equal ok 98 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 99 should be equal ok 100 should be equal ok 101 should be equal # Buffer.isBuffer ok 102 should be equal ok 103 should be equal ok 104 should be equal # Buffer.toArrayBuffer ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal # utf8 buffer to base64 ok 113 should be equal # utf8 buffer to hex ok 114 should be equal # utf8 to utf8 ok 115 should be equal # utf16le to utf16 ok 116 should be equal # utf16le to hex ok 117 should be equal # ascii buffer to base64 ok 118 should be equal # ascii buffer to hex ok 119 should be equal # base64 buffer to utf8 ok 120 should be equal # hex buffer to utf8 ok 121 should be equal # base64 buffer to ascii ok 122 should be equal # hex buffer to ascii ok 123 should be equal # base64 buffer to binary ok 124 should be equal # hex buffer to binary ok 125 should be equal # utf8 to binary ok 126 should be equal # detect utf16 surrogate pairs ok 127 should be equal # throw on orphaned utf16 surrogate lead code point ok 128 should be equal # throw on orphaned utf16 surrogate trail code point ok 129 should be equal # buffer.write string should get parsed as number ok 130 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 131 should be equal # writeUint8 with a negative number throws ok 132 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 should be equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal 1..182 # tests 182 # pass 182 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 73 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 74 should be equal .get() is deprecated. Access using array indexes instead. ok 75 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 76 should be equal ok 77 should be equal # buffer.toJSON ok 78 should be equivalent # buffer.copy ok 79 should be equal # test offset returns are correct ok 80 should be equal ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal # concat() a varying number of buffers ok 85 should be equal ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal # fill ok 90 should be equal # fill (string) ok 91 should be equal ok 92 should be equal # copy() empty buffer with sourceEnd=0 ok 93 should be equal # copy() after slice() ok 94 should be equivalent # buffer.slice sets indexes ok 95 should be equal # buffer.slice out of range ok 96 should be equal ok 97 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 98 should be equal ok 99 should be equal ok 100 should be equal # Buffer.isBuffer ok 101 should be equal ok 102 should be equal ok 103 should be equal # Buffer.toArrayBuffer ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal # utf8 buffer to base64 ok 112 should be equal # utf8 buffer to hex ok 113 should be equal # utf8 to utf8 ok 114 should be equal # utf16le to utf16 ok 115 should be equal # utf16le to hex ok 116 should be equal # ascii buffer to base64 ok 117 should be equal # ascii buffer to hex ok 118 should be equal # base64 buffer to utf8 ok 119 should be equal # hex buffer to utf8 ok 120 should be equal # base64 buffer to ascii ok 121 should be equal # hex buffer to ascii ok 122 should be equal # base64 buffer to binary ok 123 should be equal # hex buffer to binary ok 124 should be equal # utf8 to binary ok 125 should be equal # detect utf16 surrogate pairs ok 126 should be equal # throw on orphaned utf16 surrogate lead code point ok 127 should be equal # throw on orphaned utf16 surrogate trail code point ok 128 should be equal # buffer.write string should get parsed as number ok 129 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 130 should be equal # writeUint8 with a negative number throws ok 131 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 132 should be equal ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 152 object impl: skipping overflow test 1..152 # tests 152 # pass 152 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 73 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 74 should be equal .get() is deprecated. Access using array indexes instead. ok 75 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 76 should be equal ok 77 should be equal # buffer.toJSON ok 78 should be equivalent # buffer.copy ok 79 should be equal # test offset returns are correct ok 80 should be equal ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal # concat() a varying number of buffers ok 85 should be equal ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal # fill ok 90 should be equal # fill (string) ok 91 should be equal ok 92 should be equal # copy() empty buffer with sourceEnd=0 ok 93 should be equal # copy() after slice() ok 94 should be equivalent # buffer.slice sets indexes ok 95 should be equal # buffer.slice out of range ok 96 should be equal ok 97 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 98 should be equal ok 99 should be equal ok 100 should be equal # Buffer.isBuffer ok 101 should be equal ok 102 should be equal ok 103 should be equal # Buffer.toArrayBuffer ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal # utf8 buffer to base64 ok 112 should be equal # utf8 buffer to hex ok 113 should be equal # utf8 to utf8 ok 114 should be equal # utf16le to utf16 ok 115 should be equal # utf16le to hex ok 116 should be equal # ascii buffer to base64 ok 117 should be equal # ascii buffer to hex ok 118 should be equal # base64 buffer to utf8 ok 119 should be equal # hex buffer to utf8 ok 120 should be equal # base64 buffer to ascii ok 121 should be equal # hex buffer to ascii ok 122 should be equal # base64 buffer to binary ok 123 should be equal # hex buffer to binary ok 124 should be equal # utf8 to binary ok 125 should be equal # detect utf16 surrogate pairs ok 126 should be equal # throw on orphaned utf16 surrogate lead code point ok 127 should be equal # throw on orphaned utf16 surrogate trail code point ok 128 should be equal # buffer.write string should get parsed as number ok 129 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 130 should be equal # writeUint8 with a negative number throws ok 131 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 132 should be equal ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 152 object impl: skipping overflow test 1..152 # tests 152 # pass 152 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 37 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 38 should be equal .get() is deprecated. Access using array indexes instead. ok 39 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 40 should be equal ok 41 should be equal # buffer.toJSON ok 42 should be equivalent # buffer.copy ok 43 should be equal # test offset returns are correct ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # concat() a varying number of buffers ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal # fill ok 54 should be equal # fill (string) ok 55 should be equal ok 56 should be equal # copy() empty buffer with sourceEnd=0 ok 57 should be equal # copy() after slice() ok 58 should be equivalent # buffer.slice sets indexes ok 59 should be equal # buffer.slice out of range ok 60 should be equal ok 61 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 62 should be equal ok 63 should be equal ok 64 should be equal # Buffer.isBuffer ok 65 should be equal ok 66 should be equal ok 67 should be equal # Buffer.toArrayBuffer ok 68 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 69 should be equal # utf8 buffer to hex ok 70 should be equal # utf8 to utf8 ok 71 should be equal # utf16le to utf16 ok 72 should be equal # utf16le to hex ok 73 should be equal # ascii buffer to base64 ok 74 should be equal # ascii buffer to hex ok 75 should be equal # base64 buffer to utf8 ok 76 should be equal # hex buffer to utf8 ok 77 should be equal # base64 buffer to ascii ok 78 should be equal # hex buffer to ascii ok 79 should be equal # base64 buffer to binary ok 80 should be equal # hex buffer to binary ok 81 should be equal # utf8 to binary ok 82 should be equal # detect utf16 surrogate pairs ok 83 should be equal # throw on orphaned utf16 surrogate lead code point ok 84 should be equal # throw on orphaned utf16 surrogate trail code point ok 85 should be equal # buffer.write string should get parsed as number ok 86 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 87 should be equal # writeUint8 with a negative number throws ok 88 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 109 object impl: skipping overflow test 1..109 # tests 109 # pass 109 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 37 should be equal .get() is deprecated. Access using array indexes instead. ok 38 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 39 should be equal ok 40 should be equal # buffer.toJSON ok 41 should be equivalent # buffer.copy ok 42 should be equal # test offset returns are correct ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal # concat() a varying number of buffers ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal # fill ok 53 should be equal # fill (string) ok 54 should be equal ok 55 should be equal # copy() empty buffer with sourceEnd=0 ok 56 should be equal # copy() after slice() ok 57 should be equivalent # buffer.slice sets indexes ok 58 should be equal # buffer.slice out of range ok 59 should be equal ok 60 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 61 should be equal ok 62 should be equal ok 63 should be equal # Buffer.isBuffer ok 64 should be equal ok 65 should be equal ok 66 should be equal # Buffer.toArrayBuffer ok 67 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 68 should be equal # utf8 buffer to hex ok 69 should be equal # utf8 to utf8 ok 70 should be equal # utf16le to utf16 ok 71 should be equal # utf16le to hex ok 72 should be equal # ascii buffer to base64 ok 73 should be equal # ascii buffer to hex ok 74 should be equal # base64 buffer to utf8 ok 75 should be equal # hex buffer to utf8 ok 76 should be equal # base64 buffer to ascii ok 77 should be equal # hex buffer to ascii ok 78 should be equal # base64 buffer to binary ok 79 should be equal # hex buffer to binary ok 80 should be equal # utf8 to binary ok 81 should be equal # detect utf16 surrogate pairs ok 82 should be equal # throw on orphaned utf16 surrogate lead code point ok 83 should be equal # throw on orphaned utf16 surrogate trail code point ok 84 should be equal # buffer.write string should get parsed as number ok 85 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 86 should be equal # writeUint8 with a negative number throws ok 87 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 108 object impl: skipping overflow test 1..108 # tests 108 # pass 108 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array # new buffer from Uint16Array # new buffer from Uint32Array # new buffer from Int16Array # new buffer from Int32Array # new buffer from Float32Array # new buffer from Float64Array # new buffer from buffer.toJSON() output # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 37 should be equal .get() is deprecated. Access using array indexes instead. ok 38 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 39 should be equal ok 40 should be equal # buffer.toJSON ok 41 should be equivalent # buffer.copy ok 42 should be equal # test offset returns are correct ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal # concat() a varying number of buffers ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal # fill ok 53 should be equal # fill (string) ok 54 should be equal ok 55 should be equal # copy() empty buffer with sourceEnd=0 ok 56 should be equal # copy() after slice() ok 57 should be equivalent # buffer.slice sets indexes ok 58 should be equal # buffer.slice out of range ok 59 should be equal ok 60 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 61 should be equal ok 62 should be equal ok 63 should be equal # Buffer.isBuffer ok 64 should be equal ok 65 should be equal ok 66 should be equal # Buffer.toArrayBuffer ok 67 No toArrayBuffer() method provided in old browsers # utf8 buffer to base64 ok 68 should be equal # utf8 buffer to hex ok 69 should be equal # utf8 to utf8 ok 70 should be equal # utf16le to utf16 ok 71 should be equal # utf16le to hex ok 72 should be equal # ascii buffer to base64 ok 73 should be equal # ascii buffer to hex ok 74 should be equal # base64 buffer to utf8 ok 75 should be equal # hex buffer to utf8 ok 76 should be equal # base64 buffer to ascii ok 77 should be equal # hex buffer to ascii ok 78 should be equal # base64 buffer to binary ok 79 should be equal # hex buffer to binary ok 80 should be equal # utf8 to binary ok 81 should be equal # detect utf16 surrogate pairs ok 82 should be equal # throw on orphaned utf16 surrogate lead code point ok 83 should be equal # throw on orphaned utf16 surrogate trail code point ok 84 should be equal # buffer.write string should get parsed as number ok 85 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 86 should be equal # writeUint8 with a negative number throws ok 87 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 108 object impl: skipping overflow test 1..108 # tests 108 # pass 108 # ok
2014-09-12 02:19:02
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
✓4.0
✓5.0
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
11.0
12.0
13.0
14.0
15.0
16.0
17.0
18.0
✓19.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓3.0
✓3.5
✓3.6
✓4.0
✓5.0
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
✓11.0
✓12.0
✓13.0
✓14.0
✓15.0
✓16.0
✓17.0
✓18.0
✓19.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
5.1
6.0
12.0
✓15.0
6.0
6.0
4.2
android-browser/4.2
timeout waiting to hear back from android-browser/4.2
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal not ok 161 TypeError: 'undefined' is not a function --- operator: error expected: undefined actual: { [TypeError: 'undefined' is not a function] line: 7250, sourceURL: 'http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js', stack: '@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:7250\nbound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606\nrun@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5615\nbound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606\nnext@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5417\n@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:2906\n[native code]' } stack: @http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:7250 bound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606 run@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5615 bound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606 next@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5417 @http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:2906 [native code] ... not ok 162 plan != count --- operator: fail expected: 30 actual: 3 ... 1..162 # tests 162 # pass 160 # fail 2
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal not ok 161 TypeError: 'undefined' is not a function --- operator: error expected: undefined actual: { [TypeError: 'undefined' is not a function] line: 7250, sourceURL: 'http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js', stack: '@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:7250\nbound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606\nrun@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5615\nbound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606\nnext@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5417\n@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:2906\n[native code]' } stack: @http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:7250 bound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606 run@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5615 bound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606 next@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5417 @http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:2906 [native code] ... not ok 162 plan != count --- operator: fail expected: 30 actual: 3 ... 1..162 # tests 162 # pass 160 # fail 2
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal ok 161 should be equal ok 162 should be equal ok 163 should be equal ok 164 should be equal ok 165 should be equal ok 166 should be equal ok 167 should be equal ok 168 should be equal ok 169 should be equal ok 170 equal ok 171 should be equal ok 172 should be equal ok 173 should be equal ok 174 should be equal ok 175 should be equal ok 176 should be equal ok 177 should be equal ok 178 should be equal ok 179 should be equal ok 180 should be equal ok 181 should be equal ok 182 should be equal ok 183 should be equal ok 184 should be equal ok 185 should be equal ok 186 should be equal ok 187 should be equal ok 188 should be equal 1..188 # tests 188 # pass 188 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal not ok 161 TypeError: 'Number.isNaN' is not a function --- operator: error expected: undefined actual: { [TypeError: 'Number.isNaN' is not a function] message: '\'Number.isNaN\' is not a function' } stack: assert([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:1055 checkInt([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:652 <anonymous function: Buffer.prototype.writeUInt8>([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:660 <anonymous function: 50>([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:7208 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5959 bound([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5607 <anonymous function: 50>([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:7207 bound([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5607 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5621 bound([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5607 Error initially occurred at <anonymous function: 50>([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:7292 bound([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5607 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5621 bound([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5607 next([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5420 <anonymous function>([arguments not available])@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:2912 ... not ok 162 plan != count --- operator: fail expected: 30 actual: 3 ... 1..162 # tests 162 # pass 160 # fail 2
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal # new buffer from buffer.toJSON() output ok 80 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 81 should be equal .get() is deprecated. Access using array indexes instead. ok 82 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 83 should be equal ok 84 should be equal # buffer.toJSON ok 85 should be equivalent # buffer.copy ok 86 should be equal # test offset returns are correct ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal # concat() a varying number of buffers ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal # fill ok 97 should be equal # fill (string) ok 98 should be equal ok 99 should be equal # copy() empty buffer with sourceEnd=0 ok 100 should be equal # copy() after slice() ok 101 should be equivalent # buffer.slice sets indexes ok 102 should be equal # buffer.slice out of range ok 103 should be equal ok 104 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 105 should be equal ok 106 should be equal ok 107 should be equal # Buffer.isBuffer ok 108 should be equal ok 109 should be equal ok 110 should be equal # Buffer.toArrayBuffer ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal # utf8 buffer to base64 ok 119 should be equal # utf8 buffer to hex ok 120 should be equal # utf8 to utf8 ok 121 should be equal # utf16le to utf16 ok 122 should be equal # utf16le to hex ok 123 should be equal # ascii buffer to base64 ok 124 should be equal # ascii buffer to hex ok 125 should be equal # base64 buffer to utf8 ok 126 should be equal # hex buffer to utf8 ok 127 should be equal # base64 buffer to ascii ok 128 should be equal # hex buffer to ascii ok 129 should be equal # base64 buffer to binary ok 130 should be equal # hex buffer to binary ok 131 should be equal # utf8 to binary ok 132 should be equal # detect utf16 surrogate pairs ok 133 should be equal # throw on orphaned utf16 surrogate lead code point ok 134 should be equal # throw on orphaned utf16 surrogate trail code point ok 135 should be equal # buffer.write string should get parsed as number ok 136 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 137 should be equal # writeUint8 with a negative number throws ok 138 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal ok 158 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 159 should be equal ok 160 should be equal not ok 161 TypeError: 'undefined' is not a function --- operator: error expected: undefined actual: { [TypeError: 'undefined' is not a function] line: 7250, sourceURL: 'http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js', stack: '@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:7250\nbound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606\nrun@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5615\nbound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606\nnext@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5417\n@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:2906\n[native code]' } stack: @http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:7250 bound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606 run@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5615 bound@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5606 next@http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:5417 @http://git.testling.com/work/feross/repos/0a4018fcde50dd94e447e08f37e1026b01b57add.1410483524362/1410483524728.7d9361e8.js:2906 [native code] ... not ok 162 plan != count --- operator: fail expected: 30 actual: 3 ... 1..162 # tests 162 # pass 160 # fail 2
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal ok 17 should be equal # buffer.compare ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal # buffer.compare argument validation ok 26 should throw ok 27 should throw ok 28 should throw # buffer.equals ok 29 (unnamed assert) ok 30 (unnamed assert) ok 31 (unnamed assert) # buffer.equals argument validation ok 32 should throw # new buffer from array ok 33 should be equal # new buffer from array w/ negatives ok 34 should be equal # new buffer from array with mixed signed input ok 35 should be equal # new buffer from string ok 36 should be equal # new buffer from buffer ok 37 should be equal # new buffer from Uint8Array ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # new buffer from Uint16Array ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal # new buffer from Uint32Array ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal # new buffer from Int16Array ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # new buffer from Int32Array ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal # new buffer from Float32Array ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal # new buffer from Float64Array # new buffer from buffer.toJSON() output ok 74 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 75 should be equal .get() is deprecated. Access using array indexes instead. ok 76 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 77 should be equal ok 78 should be equal # buffer.toJSON ok 79 should be equivalent # buffer.copy ok 80 should be equal # test offset returns are correct ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal ok 85 should be equal # concat() a varying number of buffers ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # fill ok 91 should be equal # fill (string) ok 92 should be equal ok 93 should be equal # copy() empty buffer with sourceEnd=0 ok 94 should be equal # copy() after slice() ok 95 should be equivalent # buffer.slice sets indexes ok 96 should be equal # buffer.slice out of range ok 97 should be equal ok 98 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 99 should be equal ok 100 should be equal ok 101 should be equal # Buffer.isBuffer ok 102 should be equal ok 103 should be equal ok 104 should be equal # Buffer.toArrayBuffer ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal # utf8 buffer to base64 ok 113 should be equal # utf8 buffer to hex ok 114 should be equal # utf8 to utf8 ok 115 should be equal # utf16le to utf16 ok 116 should be equal # utf16le to hex ok 117 should be equal # ascii buffer to base64 ok 118 should be equal # ascii buffer to hex ok 119 should be equal # base64 buffer to utf8 ok 120 should be equal # hex buffer to utf8 ok 121 should be equal # base64 buffer to ascii ok 122 should be equal # hex buffer to ascii ok 123 should be equal # base64 buffer to binary ok 124 should be equal # hex buffer to binary ok 125 should be equal # utf8 to binary ok 126 should be equal # detect utf16 surrogate pairs ok 127 should be equal # throw on orphaned utf16 surrogate lead code point ok 128 should be equal # throw on orphaned utf16 surrogate trail code point ok 129 should be equal # buffer.write string should get parsed as number ok 130 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 131 should be equal # writeUint8 with a negative number throws ok 132 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 133 should be equal ok 134 should be equal ok 135 should be equal ok 136 should be equal ok 137 should be equal ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 153 should be equal ok 154 should be equal not ok 155 TypeError: 'undefined' is not a function --- operator: error expected: undefined actual: { [TypeError: 'undefined' is not a function] message: '\'undefined\' is not a function' } ... not ok 156 plan != count --- operator: fail expected: 30 actual: 3 ... 1..156 # tests 156 # pass 154 # fail 2
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # buffer.toJSON ok 84 should be equivalent # buffer.copy ok 85 should be equal # test offset returns are correct ok 86 should be equal ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal # concat() a varying number of buffers ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal # fill ok 96 should be equal # fill (string) ok 97 should be equal ok 98 should be equal # copy() empty buffer with sourceEnd=0 ok 99 should be equal # copy() after slice() ok 100 should be equivalent # buffer.slice sets indexes ok 101 should be equal # buffer.slice out of range ok 102 should be equal ok 103 should be equal # modifying buffer created by .slice() modifies original memory # modifying parent buffer modifies .slice() buffer's memory # Buffer.isEncoding ok 104 should be equal ok 105 should be equal ok 106 should be equal # Buffer.isBuffer ok 107 should be equal ok 108 should be equal ok 109 should be equal # Buffer.toArrayBuffer ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal # utf8 buffer to base64 ok 118 should be equal # utf8 buffer to hex ok 119 should be equal # utf8 to utf8 ok 120 should be equal # utf16le to utf16 ok 121 should be equal # utf16le to hex ok 122 should be equal # ascii buffer to base64 ok 123 should be equal # ascii buffer to hex ok 124 should be equal # base64 buffer to utf8 ok 125 should be equal # hex buffer to utf8 ok 126 should be equal # base64 buffer to ascii ok 127 should be equal # hex buffer to ascii ok 128 should be equal # base64 buffer to binary ok 129 should be equal # hex buffer to binary ok 130 should be equal # utf8 to binary ok 131 should be equal # detect utf16 surrogate pairs ok 132 should be equal # throw on orphaned utf16 surrogate lead code point ok 133 should be equal # throw on orphaned utf16 surrogate trail code point ok 134 should be equal # buffer.write string should get parsed as number ok 135 should be equal # buffer.writeUInt8 a fractional number will get Math.floored ok 136 should be equal # writeUint8 with a negative number throws ok 137 should throw # hex of write{Uint,Int}{8,16,32}{LE,BE} ok 138 should be equal ok 139 should be equal ok 140 should be equal ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 should be equal ok 152 should be equal ok 153 should be equal ok 154 should be equal ok 155 should be equal ok 156 should be equal ok 157 should be equal # hex of write{Uint,Int}{8,16,32}{LE,BE} with overflow ok 158 object impl: skipping overflow test 1..158 # tests 158 # pass 158 # ok
TAP version 13 # base64: ignore whitespace ok 1 should be equal # base64: strings without padding ok 2 should be equal # base64: newline in utf8 -- should not be an issue ok 3 should be equal # base64: newline in base64 -- should get stripped ok 4 should be equal # base64: tab characters in base64 - should get stripped ok 5 should be equal # indexes from a string ok 6 should be equal ok 7 should be equal ok 8 should be equal # indexes from an array ok 9 should be equal ok 10 should be equal ok 11 should be equal # setting index value should modify buffer contents ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal # storing negative number should cast to unsigned ok 16 should be equal # buffer.compare ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal # buffer.compare argument validation ok 25 should throw ok 26 should throw ok 27 should throw # buffer.equals ok 28 (unnamed assert) ok 29 (unnamed assert) ok 30 (unnamed assert) # buffer.equals argument validation ok 31 should throw # new buffer from array ok 32 should be equal # new buffer from array w/ negatives ok 33 should be equal # new buffer from array with mixed signed input ok 34 should be equal # new buffer from string ok 35 should be equal # new buffer from buffer ok 36 should be equal # new buffer from Uint8Array ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # new buffer from Uint16Array ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal # new buffer from Uint32Array ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal # new buffer from Int16Array ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # new buffer from Int32Array ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal # new buffer from Float32Array ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal # new buffer from Float64Array ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal # new buffer from buffer.toJSON() output ok 79 (unnamed assert) # .get (deprecated) .get() is deprecated. Access using array indexes instead. ok 80 should be equal .get() is deprecated. Access using array indexes instead. ok 81 should be equal # .set (deprecated) .set() is deprecated. Access using array indexes instead. .set() is deprecated. Access using array indexes instead. ok 82 should be equal ok 83 should be equal # bu