Class: BTAP::Resources::Envelope::Materials::Fenestration::FenestrationTests
- Inherits:
-
Test::Unit::TestCase
- Object
- Test::Unit::TestCase
- BTAP::Resources::Envelope::Materials::Fenestration::FenestrationTests
- Defined in:
- lib/openstudio-standards/btap/envelope.rb
Instance Method Summary collapse
-
#test_create_blind ⇒ Object
This method will test the creation of blind.
-
#test_create_gas ⇒ Object
This method will test the creation of simple gas.
-
#test_create_screen ⇒ Object
This method will test the creation of screen.
-
#test_create_shade ⇒ Object
This method will test the creation of shade.
-
#test_create_simple_glazing ⇒ Object
This method will test the creation of simple glazing.
-
#test_create_standard_glazing ⇒ Object
This method will test the creation of standard glazing.
Instance Method Details
#test_create_blind ⇒ Object
This method will test the creation of blind
278 279 280 281 282 |
# File 'lib/openstudio-standards/btap/envelope.rb', line 278 def test_create_blind() model = OpenStudio::Model::Model.new() material = BTAP::Resources::Envelope::Materials::Fenestration::create_blind(model) assert( !(material.to_Blind.empty?)) end |
#test_create_gas ⇒ Object
This method will test the creation of simple gas
271 272 273 274 275 |
# File 'lib/openstudio-standards/btap/envelope.rb', line 271 def test_create_gas() model = OpenStudio::Model::Model.new() material = BTAP::Resources::Envelope::Materials::Fenestration::create_gas(model) assert( !(material.to_Gas.empty?)) end |
#test_create_screen ⇒ Object
This method will test the creation of screen
285 286 287 288 289 |
# File 'lib/openstudio-standards/btap/envelope.rb', line 285 def test_create_screen() model = OpenStudio::Model::Model.new() material = BTAP::Resources::Envelope::Materials::Fenestration::create_screen(model) assert( !(material.to_Screen.empty?)) end |
#test_create_shade ⇒ Object
This method will test the creation of shade
292 293 294 295 296 |
# File 'lib/openstudio-standards/btap/envelope.rb', line 292 def test_create_shade() model = OpenStudio::Model::Model.new() material = BTAP::Resources::Envelope::Materials::Fenestration::create_shade(model) assert( !(material.to_Shade.empty?)) end |
#test_create_simple_glazing ⇒ Object
This method will test the creation of simple glazing
257 258 259 260 261 |
# File 'lib/openstudio-standards/btap/envelope.rb', line 257 def test_create_simple_glazing() model = OpenStudio::Model::Model.new() material = BTAP::Resources::Envelope::Materials::Fenestration::create_simple_glazing(model) assert( !(material.to_SimpleGlazing.empty?)) end |
#test_create_standard_glazing ⇒ Object
This method will test the creation of standard glazing
264 265 266 267 268 |
# File 'lib/openstudio-standards/btap/envelope.rb', line 264 def test_create_standard_glazing() model = OpenStudio::Model::Model.new() material = BTAP::Resources::Envelope::Materials::Fenestration::create_standard_glazing(model) assert( !(material.to_StandardGlazing.empty?)) end |