Rename NextResult -> NextPath

See discussion in #92.
This commit is contained in:
kortschak 2014-08-01 07:27:16 +09:30
parent cb177aa390
commit f8e28e066e
20 changed files with 37 additions and 37 deletions

View file

@ -111,7 +111,7 @@ func (it *Iterator) Result() graph.Value {
return it.result
}
func (it *Iterator) NextResult() bool {
func (it *Iterator) NextPath() bool {
return false
}

View file

@ -128,7 +128,7 @@ func TestIteratorsAndNextResultOrderA(t *testing.T) {
)
for {
got = append(got, ts.NameOf(all.Result()))
if !outerAnd.NextResult() {
if !outerAnd.NextPath() {
break
}
}