Remove dead code from day 3
parent
eaf9823a9b
commit
63480b79fd
|
@ -81,22 +81,6 @@ func abs(n int) int {
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
func max(a, b int) int {
|
|
||||||
if a > b {
|
|
||||||
return a
|
|
||||||
}
|
|
||||||
|
|
||||||
return b
|
|
||||||
}
|
|
||||||
|
|
||||||
func min(a, b int) int {
|
|
||||||
if a < b {
|
|
||||||
return a
|
|
||||||
}
|
|
||||||
|
|
||||||
return b
|
|
||||||
}
|
|
||||||
|
|
||||||
// makeDeltaPoint makes a point that represents the delta produced by the path component
|
// makeDeltaPoint makes a point that represents the delta produced by the path component
|
||||||
func makeDeltaPoint(pathComponent string) (Point, error) {
|
func makeDeltaPoint(pathComponent string) (Point, error) {
|
||||||
direction := Direction(pathComponent[0])
|
direction := Direction(pathComponent[0])
|
||||||
|
|
Loading…
Reference in New Issue