Sha256: 003f33e4d6a09eca83cf1639e7905a54e7b9421094eb9fff353838f915c163e2

Contents?: true

Size: 949 Bytes

Versions: 1

Compression:

Stored size: 949 Bytes

Contents

# encoding: UTF-8
require 'helper'

describe PrayerTimes::MathHelpers do

  subject { Object.new.extend PrayerTimes::MathHelpers }

  describe '#radians' do
    it { expect(subject).to respond_to(:radians) }
  end

  describe '#degrees' do
    it { expect(subject).to respond_to(:degrees) }
  end

  describe '#rsin' do
    it { expect(subject).to respond_to(:rsin) }
  end

  describe '#rcos' do
    it { expect(subject).to respond_to(:rcos) }
  end

  describe '#rtan' do
    it { expect(subject).to respond_to(:rtan) }
  end

  describe '#darcsin' do
    it { expect(subject).to respond_to(:darcsin) }
  end

  describe '#darccos' do
    it { expect(subject).to respond_to(:darccos) }
  end

  describe '#darctan' do
    it { expect(subject).to respond_to(:darctan) }
  end

  describe '#darccot' do
    it { expect(subject).to respond_to(:darccot) }
  end

  describe '#darctan2' do
    it { expect(subject).to respond_to(:darctan2) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prayer_times-0.1.3 spec/prayer_times/math_helpers_spec.rb