File tree Expand file tree Collapse file tree 5 files changed +53
-0
lines changed
.swiftpm/xcode/package.xcworkspace/xcshareddata Expand file tree Collapse file tree 5 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ .DS_Store
2+ /.build
3+ /Packages
4+ xcuserdata /
5+ DerivedData /
6+ .swiftpm /configuration /registries.json
7+ .swiftpm /xcode /package.xcworkspace /contents.xcworkspacedata
8+ .netrc
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >IDEDidComputeMac32BitWarning </key >
6+ <true />
7+ </dict >
8+ </plist >
Original file line number Diff line number Diff line change 1+ // swift-tools-version: 5.9
2+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+ import PackageDescription
5+
6+ let package = Package (
7+ name: " Geometry " ,
8+ products: [
9+ // Products define the executables and libraries a package produces, making them visible to other packages.
10+ . library(
11+ name: " Geometry " ,
12+ targets: [ " Geometry " ] ) ,
13+ ] ,
14+ targets: [
15+ // Targets are the basic building blocks of a package, defining a module or a test suite.
16+ // Targets can depend on other targets in this package and products from dependencies.
17+ . target(
18+ name: " Geometry " ) ,
19+ . testTarget(
20+ name: " GeometryTests " ,
21+ dependencies: [ " Geometry " ] ) ,
22+ ]
23+ )
Original file line number Diff line number Diff line change 1+ // The Swift Programming Language
2+ // https://docs.swift.org/swift-book
Original file line number Diff line number Diff line change 1+ import XCTest
2+ @testable import Geometry
3+
4+ final class GeometryTests : XCTestCase {
5+ func testExample( ) throws {
6+ // XCTest Documentation
7+ // https://developer.apple.com/documentation/xctest
8+
9+ // Defining Test Cases and Test Methods
10+ // https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods
11+ }
12+ }
You can’t perform that action at this time.
0 commit comments