Sha256: ba1585210c668255fe6dcb55b8fbed97cb37e5e5ab2ac3e5e0103b1595e045d7

Contents?: true

Size: 901 Bytes

Versions: 1

Compression:

Stored size: 901 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.1 test/lib/prayer_times/math_helpers_test.rb