# encoding: utf-8 require 'helper' class TestImplementation < Test::Unit::TestCase context "The example" do should "open the bubble sort implementation" do implementation = Jeka::Implementation.new(File.join(File.dirname(__FILE__), "example", "01_bubble_sort", "cpp")) assert_equal implementation.language, "c++" assert_equal implementation.source, "bubble.cpp" assert_equal implementation.comment, "ImplementaĆ§Ć£o simples em C++" end end end