Skip to content

Commit

Permalink
Tests code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaRU committed Jan 25, 2024
1 parent 6464c8b commit 08f8fad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions Tests/CDRCodableTests/CDRCodableDecodingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,4 @@ class CDRCodableDecodingTests: XCTestCase {
let value = try! decoder.decode(Data.self, from: data)
XCTAssertEqual(value, "hello".data(using: .utf8))
}

static var allTests = [
("testDecodeFalse", testDecodeFalse),
("testDecodeTrue", testDecodeTrue),
("testDecodeInt", testDecodeInt),
("testDecodeUInt8", testDecodeUInt8),
("testDecodeFloat", testDecodeFloat),
("testDecodeDouble", testDecodeDouble),
("testDecodeArray", testDecodeArray),
("testDecodeString", testDecodeString),
("testDecodeData", testDecodeData),
]
}
12 changes: 0 additions & 12 deletions Tests/CDRCodableTests/CDRCodableEncodingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,4 @@ class CDRCodableEncodingTests: XCTestCase {
let value = try! encoder.encode(data)
XCTAssertEqual(value, Data([5, 0, 0, 0, 0x68, 0x65, 0x6C, 0x6C, 0x6F, 0, 0, 0]))
}

static var allTests = [
("testEncodeFalse", testEncodeFalse),
("testEncodeTrue", testEncodeTrue),
("testEncodeInt32", testEncodeInt32),
("testEncodeUInt32", testEncodeUInt32),
("testEncodeFloat", testEncodeFloat),
("testEncodeDouble", testEncodeDouble),
("testEncodeString", testEncodeString),
("testEncodeArray", testEncodeArray),
("testEncodeData", testEncodeData),
]
}

0 comments on commit 08f8fad

Please sign in to comment.