Fixed not iterator test.
This commit is contained in:
parent
1d0540af17
commit
741f9cceec
1 changed files with 2 additions and 2 deletions
|
|
@ -6,13 +6,13 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNotIteratorBasics(t *testing.T) {
|
func TestNotIteratorBasics(t *testing.T) {
|
||||||
allIt := newFixed()
|
allIt := NewFixed(Identity)
|
||||||
allIt.Add(1)
|
allIt.Add(1)
|
||||||
allIt.Add(2)
|
allIt.Add(2)
|
||||||
allIt.Add(3)
|
allIt.Add(3)
|
||||||
allIt.Add(4)
|
allIt.Add(4)
|
||||||
|
|
||||||
toComplementIt := newFixed()
|
toComplementIt := NewFixed(Identity)
|
||||||
toComplementIt.Add(2)
|
toComplementIt.Add(2)
|
||||||
toComplementIt.Add(4)
|
toComplementIt.Add(4)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue