test/driver/native/test_driver.rb in octave-ruby-1.0.9 vs test/driver/native/test_driver.rb in octave-ruby-2.0.0
- old
+ new
@@ -22,11 +22,14 @@
assert_equal "some_value", @driver.get_variable("some_variable_name")
end
def test_putting_variable_with_same_name_multiple_times
assert_equal "foo", @driver.put_variable("some_variable_name", "foo")
+ assert_equal "foo", @driver.get_variable("some_variable_name")
+
assert_equal "bar", @driver.put_variable("some_variable_name", "bar")
- assert_equal "baz", @driver.put_variable("some_variable_name", "baz")
+ assert_equal "bar", @driver.get_variable("some_variable_name")
+ assert_equal "baz", @driver.put_variable("some_variable_name", "baz")
assert_equal "baz", @driver.get_variable("some_variable_name")
end
end
\ No newline at end of file