Sha256: 4ffaf7ce6ef1191dbccda2b24c20b01d3b16a4e13826e519b0f9c4cfe06e4f06
Contents?: true
Size: 423 Bytes
Versions: 11
Compression:
Stored size: 423 Bytes
Contents
require 'helper' module AjaxCat class TestMosesPair < Test::Unit::TestCase def test_moses_pair moses_ini_path = File.dirname(__FILE__) + "/../fixtures/moses.ini" @pair = MosesPair.new('cs-en',"moses",moses_ini_path) assert_equal(@pair.class, MosesPair, "right class") request = Request::Raw.new("das ist") result = @pair.process_request(request) assert_equal(724, result.size) end end end
Version data entries
11 entries across 11 versions & 1 rubygems