protocol CompressionService {
func compress(
url: URL
) throws -> URL
}
Simple interface. More than 300 lines of code to test all the scenarios.
Physicist and Software Engineer. macOS Engineering Team Lead at NordVPN. Addicted to coffee, games, books, cats, science, LEGO, fountain pens, and pocket notebooks.
protocol CompressionService {
func compress(
url: URL
) throws -> URL
}
Simple interface. More than 300 lines of code to test all the scenarios.