Skip to content

Commit 7a34de8

Browse files
committed
Enable recently added tests and benchmarks for bit writers' write(unsignedNumber:bitsCount:) on Linux
1 parent 662e375 commit 7a34de8

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Tests/LinuxMain.swift

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extension ByteReaderTests {
3030
extension LsbBitReaderTests {
3131
static var allTests: [(String, (LsbBitReaderTests) -> () -> Void)] {
3232
return [
33-
("testBit", testBit),
33+
("testBit", testBit),
3434
("testBits", testBits),
3535
("testIntFromBits", testIntFromBits),
3636
("testByteFromBits", testByteFromBits),
@@ -87,7 +87,8 @@ extension LsbBitWriterTests {
8787
("testWriteBit", testWriteBit),
8888
("testWriteBitsArray", testWriteBitsArray),
8989
("testWriteNumber", testWriteNumber),
90-
("testAppendByte", testAppendByte),
90+
("testWriteUnsignedNumber", testWriteUnsignedNumber),
91+
("testAppendByte", testAppendByte),
9192
("testAlign", testAlign),
9293
("testIsAligned", testIsAligned),
9394
("testNamingConsistency", testNamingConsistency)
@@ -100,7 +101,8 @@ extension MsbBitWriterTests {
100101
return [
101102
("testWriteBit", testWriteBit),
102103
("testWriteBitsArray", testWriteBitsArray),
103-
("testWriteNumber", testWriteNumber),
104+
("testWriteNumber", testWriteNumber),
105+
("testWriteUnsignedNumber", testWriteUnsignedNumber),
104106
("testAppendByte", testAppendByte),
105107
("testAlign", testAlign),
106108
("testIsAligned", testIsAligned),
@@ -158,6 +160,7 @@ extension LsbBitWriterBenchmarks {
158160
return [
159161
("testWriteBit", testWriteBit),
160162
("testWriteNumberBitsCount", testWriteNumberBitsCount),
163+
("testWriteUnsignedNumberBitsCount", testWriteUnsignedNumberBitsCount),
161164
("testAppendByte", testAppendByte)
162165
]
163166
}
@@ -168,6 +171,7 @@ extension MsbBitWriterBenchmarks {
168171
return [
169172
("testWriteBit", testWriteBit),
170173
("testWriteNumberBitsCount", testWriteNumberBitsCount),
174+
("testWriteUnsignedNumberBitsCount", testWriteUnsignedNumberBitsCount),
171175
("testAppendByte", testAppendByte)
172176
]
173177
}

0 commit comments

Comments
 (0)