require'helper'moduleArelmoduleNodesdescribe'Distinct'dodescribe'equality'doit'is equal to other distinct nodes'doarray=[Distinct.new,Distinct.new]assert_equal1,array.uniq.sizeendit'is not equal with other nodes'doarray=[Distinct.new,Node.new]assert_equal2,array.uniq.sizeendendendendend