Coverage 100%
This commit is contained in:
@ -114,9 +114,6 @@ func (s *State) Clear() {
|
||||
s.clear(*s.cursor, true)
|
||||
}
|
||||
|
||||
func (s *State) view(cursor []int) {
|
||||
}
|
||||
|
||||
func (s *State) initSection(p Point) {
|
||||
s.history += fmt.Sprintf("i%s", p)
|
||||
s.sections.clear(p, false)
|
||||
@ -213,13 +210,6 @@ func (s *State) scoreValidCompletedSections() {
|
||||
}
|
||||
}
|
||||
|
||||
// updateAllHeaders runs updateHeaders for every row/column.
|
||||
func (s *State) updateAllHeaders() {
|
||||
for i := 0; i < s.size(); i++ {
|
||||
s.updateHeaders(Point{i, i})
|
||||
}
|
||||
}
|
||||
|
||||
// updateHeaders makes sure that the counts of alive cells in rows/columns are accurate, and whether or not the row/column is complete.
|
||||
func (s *State) updateHeaders(p Point) {
|
||||
var rowHeader, colHeader header
|
||||
|
||||
Reference in New Issue
Block a user