Sha256: 9ca30b0b8e28555e036614c6414fead33b6981263a34d1fd1fc7c50831cd5a15

Contents?: true

Size: 539 Bytes

Versions: 31

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

module Vedeu

  module Logging

    describe ClockTime do

      describe '.clock_time' do
        subject { Vedeu.clock_time }

        context 'when Process::CLOCK_MONOTONIC is defined' do
          it { subject.must_be_instance_of(Float) }
        end

        # context 'when Process::CLOCK_MONOTONIC is not defined' do
        #   it { subject.must_be_instance_of(Time) }
        # end

        # @todo Add more tests.
      end

    end # ClockTime

  end # Logging

end # Vedeu

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
vedeu-0.8.32 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.31 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.30 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.29 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.28 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.27 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.26 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.25 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.24 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.23 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.22 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.21 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.20 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.19 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.18 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.17 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.16 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.15 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.14 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.8.13 test/lib/vedeu/logging/clock_time_test.rb