Class: BTAP::Resources::Envelope::Materials::Fenestration::FenestrationTests

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
lib/openstudio-standards/btap/envelope.rb

Instance Method Summary collapse

Instance Method Details

#test_create_blindObject

This method will test the creation of blind

Author:



276
277
278
279
280
# File 'lib/openstudio-standards/btap/envelope.rb', line 276

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_gasObject

This method will test the creation of simple gas

Author:



269
270
271
272
273
# File 'lib/openstudio-standards/btap/envelope.rb', line 269

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_screenObject

This method will test the creation of screen

Author:



283
284
285
286
287
# File 'lib/openstudio-standards/btap/envelope.rb', line 283

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_shadeObject

This method will test the creation of shade

Author:



290
291
292
293
294
# File 'lib/openstudio-standards/btap/envelope.rb', line 290

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_glazingObject

This method will test the creation of simple glazing

Author:



255
256
257
258
259
# File 'lib/openstudio-standards/btap/envelope.rb', line 255

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_glazingObject

This method will test the creation of standard glazing

Author:



262
263
264
265
266
# File 'lib/openstudio-standards/btap/envelope.rb', line 262

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