Make template more generic
Func names were using real names and "getting in the way"
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
//
|
||||
// Advent of Code 2018 "Day 1: Chronal Calibration"
|
||||
// Advent of Code 2018 "Day xx: Something Something"
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
class Chronal {
|
||||
class Template {
|
||||
}
|
||||
|
||||
class Day01: AOCDay {
|
||||
lazy var tests: (() -> ()) = day01Tests
|
||||
lazy var final: (() -> ()) = day01Final
|
||||
class Dayxx: AOCDay {
|
||||
lazy var tests: (() -> ()) = dayxxTests
|
||||
lazy var final: (() -> ()) = dayxxFinal
|
||||
|
||||
func day01Tests() {
|
||||
func dayxxTests() {
|
||||
}
|
||||
|
||||
func day01Final() {
|
||||
func dayxxFinal() {
|
||||
let retVal = "None"
|
||||
print("Answer to part 1 is: \(retVal)")
|
||||
print("Answer to part 2 is: \(retVal)")
|
||||
|
||||
Reference in New Issue
Block a user