Skip to content

Commit

Permalink
✨ Problem 005 test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jobearrr committed Jul 12, 2024
1 parent 7ed52c2 commit 038bf3a
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// LongestPalindromicSubstringTestCaseProvider.swift
// LeetSwift
//
// Created by Jobert on 12/07/2024.
//

@testable import Core
@testable import TestSupport

protocol LongestPalindromicSubstringTestCaseProvider: TestCaseProviding { }

extension LongestPalindromicSubstringTestCaseProvider {

func validateInput(_ input: String) -> Bool {
// TODO: Implement validation
true
}

var data: [TestData<String, String>] { [
TestData(
input: "babad",
expectedOutput: "bab"
),
TestData(
input: "cbbd",
expectedOutput: "bb"
)
] }
}

0 comments on commit 038bf3a

Please sign in to comment.