# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2018-2025, by Samuel Williams.
# Copyright, 2019, by Ryan Musgrave.
# Copyright, 2020-2022, by Bruno Sutic.
# Copyright, 2025, by Jahfer Husain.
# Copyright, 2025, by Shopify Inc.

require "async/queue"

require "sus/fixtures/async"
require "async/a_queue"
require "async/a_queue_with_timeout"

describe Async::Queue do
	include Sus::Fixtures::Async::ReactorContext
	
	it_behaves_like Async::AQueue
	it_behaves_like Async::AQueueWithTimeout
end
