| 123456789101112131415161718192021 |
- //
- // GetGlucosePageMessageBodyTests.swift
- // RileyLink
- //
- // Created by Timothy Mecklem on 10/19/16.
- // Copyright © 2016 Pete Schwamb. All rights reserved.
- //
- import XCTest
- @testable import MinimedKit
- class GetGlucosePageMessageBodyTests: XCTestCase {
-
- func testTxDataEncoding() {
- let messageBody = GetGlucosePageMessageBody(pageNum: 13)
-
- XCTAssertEqual(messageBody.txData.subdata(in: 0..<5).hexadecimalString, "040000000d")
- }
-
- }
|