Sha256: 59c41e8317698aaadd78145cd34b8426c3b2fd91ea23b4a75510f813009cd0b1
Contents?: true
Size: 621 Bytes
Versions: 57
Compression:
Stored size: 621 Bytes
Contents
# -*- coding: utf-8 -*- require_relative 'test_helper' module Dynflow module RoundRobinTest describe RoundRobin do let(:rr) { Dynflow::RoundRobin.new } specify do rr.next.must_be_nil rr.next.must_be_nil rr.must_be_empty rr.add 1 rr.next.must_equal 1 rr.next.must_equal 1 rr.add 2 rr.next.must_equal 2 rr.next.must_equal 1 rr.next.must_equal 2 rr.delete 1 rr.next.must_equal 2 rr.next.must_equal 2 rr.delete 2 rr.next.must_be_nil rr.must_be_empty end end end end
Version data entries
57 entries across 57 versions & 1 rubygems