mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
13 lines
369 B
Ruby
13 lines
369 B
Ruby
require 'testing_env'
|
|
require 'requirements/mpi_dependency'
|
|
|
|
class MPIDependencyTests < Test::Unit::TestCase
|
|
def test_initialize_untangles_tags_and_wrapper_symbols
|
|
wrappers = [:cc, :cxx, :f77]
|
|
tags = [:optional, 'some-other-tag']
|
|
dep = MPIDependency.new(*wrappers + tags)
|
|
assert_equal wrappers, dep.lang_list
|
|
assert_equal tags, dep.tags
|
|
end
|
|
end
|