Sha256: d99ecd64653e1cb09f9a51633629b037005373a6a47313d38bda005cebb061bc
Contents?: true
Size: 467 Bytes
Versions: 9
Compression:
Stored size: 467 Bytes
Contents
require 'pione/test-helper' module TestEvalator extend Pione::Util::Evaluatable end describe "Pione::System::Evaluatable" do it "should evaluate and get PIONE model object" do TestEvalator.val!("1").should == Lang::IntegerSequence.of(1) TestEvalator.val!('"A"').should == Lang::StringSequence.of("A") end it "should evaluate and get the result string" do TestEvalator.val("1").should == "1" TestEvalator.val('"A"').should == "A" end end
Version data entries
9 entries across 9 versions & 1 rubygems