Sha256: 0ba272e173fcc6c55867a3eb1a89f7cb2cd3d6415ba3915addfc7300e2035139
Contents?: true
Size: 766 Bytes
Versions: 2
Compression:
Stored size: 766 Bytes
Contents
require "spec_helper" require "catlogic" describe "figure object" do $figure_1 = Figure.new(1) it "should return the label of the figure type object" do label = $figure_1.label label.should == 1 end it "should return the major type subject term object" do subject = $figure_1.major_subject subject.label.should == "M" end it "should return the major type predicate term object" do subject = $figure_1.major_predicate subject.label.should == "P" end it "should return the minor type subject term object" do subject = $figure_1.minor_subject subject.label.should == "S" end it "should return the minor type predicate term object" do subject = $figure_1.minor_predicate subject.label.should == "M" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
catlogic-0.0.2 | spec/figure_spec.rb |
catlogic-0.0.1 | spec/figure_spec.rb |