mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-27 15:29:34 +00:00
Update 65816kromTests.swift
Only have one runTest method.
This commit is contained in:
parent
5126163c5d
commit
a3414c2673
@ -20,11 +20,7 @@ class Krom65816Tests: XCTestCase {
|
||||
|
||||
// MARK: - Test Runner
|
||||
|
||||
func runTest(_ name: String) {
|
||||
runTest(name, pcLimit: nil)
|
||||
}
|
||||
|
||||
func runTest(_ name: String, pcLimit: UInt32?) {
|
||||
func runTest(_ name: String, pcLimit: UInt32? = nil) {
|
||||
var testData: Data?
|
||||
if let filename = Bundle(for: type(of: self)).path(forResource: name, ofType: "sfc") {
|
||||
testData = try? Data(contentsOf: URL(fileURLWithPath: filename))
|
||||
|
Loading…
x
Reference in New Issue
Block a user