Initial commit
This commit is contained in:
commit
1db16227b2
31 changed files with 2175 additions and 0 deletions
17
Tests/CoreUtilsTests/LoggerTests.swift
Normal file
17
Tests/CoreUtilsTests/LoggerTests.swift
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import XCTest
|
||||
@testable import CoreUtils
|
||||
|
||||
final class LoggerTests: XCTestCase {
|
||||
func testLoggerInitialization() {
|
||||
let logger = Logger(category: "Test")
|
||||
logger.info("Test message")
|
||||
}
|
||||
|
||||
func testLoggerLevels() {
|
||||
let logger = Logger(category: "Test")
|
||||
logger.debug("Debug message")
|
||||
logger.info("Info message")
|
||||
logger.warning("Warning message")
|
||||
logger.error("Error message")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue