Sha256: fea7a9671ccce390c4c8544e632abd5cf92ec5a041503b6317cda99a8cdb3204

Contents?: true

Size: 463 Bytes

Versions: 26

Compression:

Stored size: 463 Bytes

Contents

require File.dirname(__FILE__) + '/../../../../../spec_helper'
include OpenEHR::RM::DataTypes::Quantity

describe DvInterval do
  before(:each) do
    @dv_interval = DvInterval.new(:upper => 100,
                                  :lower => 1)
  end

  it 'should be an instance of DvInterval' do
    @dv_interval.should be_an_instance_of DvInterval
  end

  it 's upper should be larger than lower' do
    @dv_interval.upper.should > @dv_interval.lower
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
openehr-1.2.8 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.2.7 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.2.6 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.2.5 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.2.4 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.2.3 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.2.2 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.2.1 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.2.0 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.1.6 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.1.5 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.1.4 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.1.3 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.1.2 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.1.1 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
openehr-1.1.0 spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
open_ehr-1.0.2 spec/lib/open_ehr/rm/data_types/quantity/dv_interval_spec.rb
open_ehr-1.0.1 spec/lib/open_ehr/rm/data_types/quantity/dv_interval_spec.rb
open_ehr-1.0.0 spec/lib/open_ehr/rm/data_types/quantity/dv_interval_spec.rb
open_ehr-0.9.5 spec/lib/open_ehr/rm/data_types/quantity/dv_interval_spec.rb