We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8d081d commit 5a59ee4Copy full SHA for 5a59ee4
test/pid_controller_test.rb
@@ -7,10 +7,6 @@ class TestPIDController < Minitest::Test
7
include TimeHelper
8
9
def setup
10
- # Fix the initial time for all tests
11
- @initial_time = 1000.0
12
- Process.stubs(:clock_gettime).with(Process::CLOCK_MONOTONIC).returns(@initial_time)
13
-
14
@controller = Semian::PIDController.new(
15
name: "test_controller",
16
kp: 1.0,
@@ -23,7 +19,6 @@ def setup
23
19
24
20
def teardown
25
21
@controller.reset
26
- Process.unstub(:clock_gettime) if Process.stubbed?(:clock_gettime)
27
22
end
28
29
def test_initialization
0 commit comments