5件ヒット
[1-5件を表示]
(0.016秒)
キーワード
-
minitest
/ autorun (1) -
minitest
/ mock (1) -
minitest
/ spec (1) -
minitest
/ unit (1) - tsort (1)
検索結果
-
minitest
/ autorun (18004.0) -
このファイルを Kernel.#require するとテストが test/unit と同じように自動実行されます。
このファイルを Kernel.#require するとテストが test/unit と同じように自動実行されます。 -
minitest
/ mock (18004.0) -
シンプルなモックライブラリです。
シンプルなモックライブラリです。
このライブラリはbundled gem(gemファイルのみを同梱)です。詳しい内容は下
記のページを参照してください。
* rubygems.org: https://rubygems.org/gems/minitest
* プロジェクトページ: https://github.com/seattlerb/minitest
* リファレンス: https://www.rubydoc.info/gems/minitest -
minitest
/ spec (18004.0) -
BDD 風にテストを書くためのクラスやメソッドを定義するためのライブラリです。
BDD 風にテストを書くためのクラスやメソッドを定義するためのライブラリです。
このライブラリはbundled gem(gemファイルのみを同梱)です。詳しい内容は下
記のページを参照してください。
* rubygems.org: https://rubygems.org/gems/minitest
* プロジェクトページ: https://github.com/seattlerb/minitest
* リファレンス: https://www.rubydoc.info/gems/minitest -
minitest
/ unit (18004.0) -
ユニットテストを行うためのライブラリです。
ユニットテストを行うためのライブラリです。
このライブラリはbundled gem(gemファイルのみを同梱)です。詳しい内容は下
記のページを参照してください。
* rubygems.org: https://rubygems.org/gems/minitest
* プロジェクトページ: https://github.com/seattlerb/minitest
* リファレンス: https://www.rubydoc.info/gems/minitest -
tsort (22.0)
-
tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。
tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。
=== Example
//emlist[][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
{1=>[2, 3], 2=>[3], 3=>[], 4=>[]}.tsort
#=> [3, 2, 1, 4]
{1=>[2], 2=>[3, 4...