//: ![3DaysOfSwift.com Logo](3DaysOfSwift-Header.png) ©️ 2026  [3DaysOfSwift.com](https://www.3DaysOfSwift.com)
//:
//: Playground: Unit Tests
//:
//: v1 | Swift v6.2.3+ | Xcode 26.2+
//:
//: -------------------
//:
//: ## Test Driven Development
//: This project was written using TDD *(Test Driven Development)*.
//:
//: This approach is where we write our tests first and then write the code to make them pass. It's a fantastic approach that can provide confidence in the solutions we write helping guide us towards higher quality architecture and more component focussed "plug and play" code structures.
//:
//: In this particular Xcode project *(as it's fairly simple)* we focussed on "black box testing", which tests the main interface to the whole system and not each internal mechanism. This allows us to be confident that the system behaves as intended while also offering the freedom to change "how" the system accomplishes this. Perhaps for more complex systems we may want to individually test each component too.
//:
//: 👉 For more information take a look at our unit tests within the "123CalcTests" folder in the project navigator pane. Our unit tests will look something like the screenshot below.
//:
//: ![Example of a unit test](unit-test-example.png)
//:
//: -------------------
//:
//: ![3DaysOfSwift.com Logo](3DaysOfSwift-Header.png) ©
//:
//: Copyright 2026 [3DaysOfSwift.com](https://www.3DaysOfSwift.com). All rights reserved.
//:
//: [Website](https://www.3DaysOfSwift.com)
//:
//: Welcome to our community of [3DaysOfSwift.com](https://www.3DaysOfSwift.com) iOS developers!
//:
//: 🧕🏻👩🏿‍💻🧑🏻‍💻🙋🏿‍♀️🧑🏼‍💻👩🏼‍💼👩🏽‍💻🧑🏿‍💻💁🏼‍♀️👩🏼‍💻👨🏼‍💻👨🏽‍💻🙋🏽‍♂️👩🏻‍💻🧑🏾‍💻👩🏻‍💻👩🏾‍💻👨🏼‍💻🙋🏻‍♂️👨🏿‍💻👩🏿‍💻👨🏻‍💻🙋🏻‍♀️👩🏼‍💻🙋🏿🧑🏿‍💻🧕🏾🧑🏿‍💻🙋🏼‍♂️
//:
