23 lines
525 B
Swift
23 lines
525 B
Swift
//
|
|
// EmployeeDirectoryTests.swift
|
|
// EmployeeDirectoryTests
|
|
//
|
|
// Created by Matt Bruce on 1/20/25.
|
|
//
|
|
|
|
import Testing
|
|
@testable import EmployeeDirectory
|
|
|
|
struct EmployeeDirectoryTests {
|
|
|
|
@Test func getEmployeesValid() async throws {
|
|
let employees = try await EmployeeService().getEmployees()
|
|
#expect(employees.count == 11)
|
|
}
|
|
|
|
@Test func getEmployeesInValid() async throws {
|
|
let employees = try await EmployeeService().getEmployees()
|
|
#expect(employees.count == 11)
|
|
}
|
|
}
|