Sha256: 99219d39ee17bbd9d8e87eb8ee36284be9ff7041447c10ddd5c27f16e9714778
Contents?: true
Size: 510 Bytes
Versions: 7
Compression:
Stored size: 510 Bytes
Contents
require 'spec_helper' require 'earth/computation/computation_carrier' describe ComputationCarrier do describe 'Sanity check', :sanity => true do let(:total) { ComputationCarrier.count } it { total.should == 1 } it { ComputationCarrier.where('power_usage_effectiveness > 1.0').count.should == total } describe '.fallback' do let(:fallback) { ComputationCarrier.fallback } it { fallback.power_usage_effectiveness.should be_within(5e-3).of(1.5) } end end end
Version data entries
7 entries across 7 versions & 1 rubygems