Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Lehmann authored and hamchapman committed Oct 28, 2024
1 parent 96f6db8 commit 43aa55b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/CBOREncoderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class CBOREncoderTests: XCTestCase {
XCTAssertEqual((-i).encode().count, 1)
}
XCTAssertEqual(Int(-1).encode(), [0x20])
XCTAssertEqual(UInt(1).encode(), [0x1])
XCTAssertEqual(CBOR.encode(-10), [0x29])
XCTAssertEqual(Int(-24).encode(), [0x37])
XCTAssertEqual(Int(-25).encode(), [0x38, 24])
Expand Down

0 comments on commit 43aa55b

Please sign in to comment.