gisele 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +2 -3
- data/Gemfile.lock +15 -7
- data/bin/tast2fsp +53 -0
- data/examples/dqaad/dqaad.gif +0 -0
- data/examples/dqaad/dqaad.gis +31 -0
- data/examples/meeting-scheduler/MeetingScheduling.dot +46 -0
- data/examples/meeting-scheduler/MeetingScheduling.gif +0 -0
- data/examples/meeting-scheduler/MeetingScheduling.gis +1 -1
- data/examples/rectal-cancer-pathway/RectalCancerPathway.dot +55 -0
- data/examples/rectal-cancer-pathway/RectalCancerPathway.gif +0 -0
- data/examples/union/breast.gis +19 -0
- data/examples/union/breast/deterministic.dot +33 -0
- data/examples/union/breast/deterministic.gif +0 -0
- data/examples/union/breast/glts.dot +53 -0
- data/examples/union/breast/glts.gif +0 -0
- data/examples/union/breast/minimal.dot +31 -0
- data/examples/union/breast/minimal.gif +0 -0
- data/examples/union/breast/wf.dot +21 -0
- data/examples/union/breast/wf.gif +0 -0
- data/examples/union/dot.rb +6 -0
- data/examples/union/merged.dot +42 -0
- data/examples/union/merged.gif +0 -0
- data/examples/union/minim.dot +41 -0
- data/examples/union/minim.gif +0 -0
- data/examples/union/rectal.gis +20 -0
- data/examples/union/rectal/deterministic.dot +37 -0
- data/examples/union/rectal/deterministic.gif +0 -0
- data/examples/union/rectal/glts.dot +59 -0
- data/examples/union/rectal/glts.gif +0 -0
- data/examples/union/rectal/minimal.dot +35 -0
- data/examples/union/rectal/minimal.gif +0 -0
- data/examples/union/rectal/wf.dot +23 -0
- data/examples/union/rectal/wf.gif +0 -0
- data/examples/union/union.gis +48 -0
- data/examples/union/union.rb +39 -0
- data/examples/while/while-deteministic.gif +0 -0
- data/examples/while/while.dot +30 -0
- data/examples/while/while.gif +0 -0
- data/examples/while/while.gis +10 -0
- data/gisele.gemspec +2 -3
- data/gisele.noespec +3 -4
- data/lib/gisele.rb +0 -1
- data/lib/gisele/command.rb +30 -8
- data/lib/gisele/errors.rb +4 -0
- data/lib/gisele/loader.rb +1 -2
- data/lib/gisele/version.rb +2 -2
- data/spec/command/main/gisele_glts.stdout +89 -83
- data/spec/command/main/gisele_help.stdout +3 -0
- data/spec/command/main/gisele_no_sugar.stdout +34 -1
- data/spec/command/main/gisele_version.stdout +1 -1
- data/spec/fixtures/tasks/complete.gis +5 -1
- metadata +88 -43
- data/examples/merge/BreastCancer.dot +0 -30
- data/examples/merge/BreastCancer.gif +0 -0
- data/examples/merge/BreastCancer.gis +0 -17
- data/examples/merge/Merge.dot +0 -46
- data/examples/merge/Merge.gif +0 -0
- data/examples/merge/RectalCancer.dot +0 -22
- data/examples/merge/RectalCancer.gif +0 -0
- data/examples/merge/RectalCancer.gis +0 -15
- data/lib/gisele/compiling.rb +0 -2
- data/lib/gisele/compiling/to_glts.rb +0 -125
- data/lib/gisele/compiling/to_graph.rb +0 -160
- data/lib/gisele/compiling/to_graph.yml +0 -20
- data/spec/unit/compiling/test_to_glts.rb +0 -20
- data/spec/unit/compiling/test_to_graph.rb +0 -19
@@ -1,20 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
module Gisele
|
3
|
-
module Compiling
|
4
|
-
describe ToGlts do
|
5
|
-
|
6
|
-
it 'returns an array of Automaton when called on a unit_def' do
|
7
|
-
got = ToGlts.call(complete_ast)
|
8
|
-
got.should be_a(Array)
|
9
|
-
got.all?{|x| x.is_a? Stamina::Automaton}.should be_true
|
10
|
-
end
|
11
|
-
|
12
|
-
it 'returns a Digraph when called on a task_def' do
|
13
|
-
got = ToGlts.call(complete_ast.last)
|
14
|
-
got.should be_a(Stamina::Automaton)
|
15
|
-
got.depth
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
module Gisele
|
3
|
-
module Compiling
|
4
|
-
describe ToGraph do
|
5
|
-
|
6
|
-
it 'returns an array of Digraphs when called on a unit_def' do
|
7
|
-
got = ToGraph.call(complete_ast)
|
8
|
-
got.should be_a(Array)
|
9
|
-
got.all?{|x| x.is_a? Yargi::Digraph}.should be_true
|
10
|
-
end
|
11
|
-
|
12
|
-
it 'returns a Digraph when called on a task_def' do
|
13
|
-
got = ToGraph.call(complete_ast.last)
|
14
|
-
got.should be_a(Yargi::Digraph)
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|