Method: Synthesis::DotFormatter#digraph
- Defined in:
- lib/synthesis/formatter/dot.rb
#digraph ⇒ Object Also known as: format_failure, format_success
17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/synthesis/formatter/dot.rb', line 17 def digraph @out.puts "digraph synthesis_expectations {" @out.puts " rankdir=LR;" @out.puts " size=\"10,10\";" @out.puts " ratio=\"fill\";" @out.puts " remincross=\"true\";" @out.puts " node [shape = circle];" @out.puts " edge [color = green]" report_tested_expectations @out.puts @out.puts " edge [color = red]" report_untested_expectations @out.puts "}" end |