Skip to content

Commit

Permalink
✨ Problem 004 Test Case Provider
Browse files Browse the repository at this point in the history
  • Loading branch information
jobearrr committed Jul 11, 2024
1 parent 8272233 commit 055460e
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// MedianOfTwoSortedArraysTestCaseProvider.swift
// LeetSwift
//
// Created by Jobert on 11/07/2024.
//

@testable import Core
@testable import TestSupport

protocol MedianOfTwoSortedArraysTestCaseProvider: TestCaseProviding { }

extension MedianOfTwoSortedArraysTestCaseProvider {

func validateInput(_ input: (l1: ListNode?, l2: ListNode?)) -> Bool {
// TODO: Implement validation
true
}

var data: [TestData<(nums1: [Int], nums2: [Int]), Double>] { [
TestData(
input: ([1, 3], [2]),
expectedOutput: 2.00000
),
TestData(
input: ([1, 2], [3, 4]),
expectedOutput: 2.50000
)
] }
}

0 comments on commit 055460e

Please sign in to comment.