Skip to content

Commit

Permalink
Updated unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Sep 8, 2018
1 parent 6b71b20 commit 01906b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/BluetoothTests/BluetoothUUIDTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ final class BluetoothUUIDTests: XCTestCase {

func test16BitBaseUUID() {

XCTAssertNil(UInt16(bluetooth: UUID()))

let uuids: [UInt16: UUID] = [
0x1800: UUID(rawValue: "00001800-0000-1000-8000-00805F9B34FB")!,
0x1801: UUID(rawValue: "00001801-0000-1000-8000-00805F9B34FB")!,
Expand All @@ -216,6 +218,8 @@ final class BluetoothUUIDTests: XCTestCase {

func test32BitBaseUUID() {

XCTAssertNil(UInt32(bluetooth: UUID()))

let uuids: [UInt32: UUID] = [
0x00001800: UUID(rawValue: "00001800-0000-1000-8000-00805F9B34FB")!,
0x00001801: UUID(rawValue: "00001801-0000-1000-8000-00805F9B34FB")!,
Expand Down

0 comments on commit 01906b5

Please sign in to comment.