Sha256: fe1183f2b295be54d906e1aeb41ecf39083c30aea20984158c04d216804969a9

Contents?: true

Size: 179 Bytes

Versions: 5

Compression:

Stored size: 179 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'
require 'mspec/helpers/nan'

describe Object, "#nan_value" do
  it "returns NaN" do
    nan_value.nan?.should be_true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mspec-1.5.17 spec/helpers/nan_spec.rb
mspec-1.5.16 spec/helpers/nan_spec.rb
mspec-1.5.15 spec/helpers/nan_spec.rb
mspec-1.5.14 spec/helpers/nan_spec.rb
mspec-1.5.13 spec/helpers/nan_spec.rb