Class: BTAP::Resources::Envelope::Materials::Opaque::OpaqueTests
- Inherits:
-
Test::Unit::TestCase
- Object
- Test::Unit::TestCase
- BTAP::Resources::Envelope::Materials::Opaque::OpaqueTests
- Defined in:
- lib/openstudio-standards/btap/envelope.rb
Instance Method Summary collapse
-
#test_create_air_gap ⇒ Object
This method tests the creation of air gap.
-
#test_create_massless_opaque_material ⇒ Object
This method tests the creation of massless opaque materials.
-
#test_create_opaque_material ⇒ Object
This method tests the creation of opaque materials.
Instance Method Details
#test_create_air_gap ⇒ Object
This method tests the creation of air gap.
173 174 175 176 177 |
# File 'lib/openstudio-standards/btap/envelope.rb', line 173 def test_create_air_gap() model = OpenStudio::Model::Model.new() material = BTAP::Resources::Envelope::Materials::Opaque::create_air_gap(model) assert(!(material.to_AirGap.empty?)) end |
#test_create_massless_opaque_material ⇒ Object
This method tests the creation of massless opaque materials.
165 166 167 168 169 |
# File 'lib/openstudio-standards/btap/envelope.rb', line 165 def test_create_massless_opaque_material() model = OpenStudio::Model::Model.new() material = BTAP::Resources::Envelope::Materials::Opaque::create_massless_opaque_material(model) assert(!(material.to_MasslessOpaqueMaterial.empty?)) end |
#test_create_opaque_material ⇒ Object
This method tests the creation of opaque materials.
157 158 159 160 161 |
# File 'lib/openstudio-standards/btap/envelope.rb', line 157 def test_create_opaque_material() model = OpenStudio::Model::Model.new() material = BTAP::Resources::Envelope::Materials::Opaque::create_opaque_material(model) assert(!(material.to_StandardOpaqueMaterial.empty?)) end |