Sha256: 9fadcb1595c34d74346a2e9ef4eb2fc47fad7c398a6015fb50a89188ffd4d0e1

Contents?: true

Size: 887 Bytes

Versions: 1

Compression:

Stored size: 887 Bytes

Contents

# encoding: UTF-8
require_relative '../../test_helper'

describe PrayerTimes::MathHelpers do

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

  describe "#radians" do
    it {subject.must_respond_to(:radians)}
  end

  describe "#degrees" do
    it {subject.must_respond_to(:degrees)}
  end

  describe "#rsin" do
    it {subject.must_respond_to(:rsin)}
  end

  describe "#rcos" do
    it {subject.must_respond_to(:rcos)}
  end

  describe "#rtan" do
    it {subject.must_respond_to(:rtan)}
  end

  describe "#darcsin" do
    it {subject.must_respond_to(:darcsin)}
  end

  describe "#darccos" do
    it {subject.must_respond_to(:darccos)}
  end

  describe "#darctan" do
    it {subject.must_respond_to(:darctan)}
  end

  describe "#darccot" do
    it {subject.must_respond_to(:darccot)}
  end

  describe "#darctan2" do
    it {subject.must_respond_to(:darctan2)}
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prayer_times-0.1.2 test/lib/prayer_times/math_helpers_test.rb