Fixed not iterator test.

This commit is contained in:
Matei Chiperi 2014-09-08 17:33:45 -07:00
parent 1d0540af17
commit 741f9cceec

View file

@ -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)