test/test_struct.rb in rucy-0.1.21 vs test/test_struct.rb in rucy-0.1.22

- old
+ new

@@ -4,23 +4,23 @@ require_relative 'helper' class TestStruct < Test::Unit::TestCase - def setup () + def setup() @x = Rucy::Tester::Struct.new end - def test_default_value_is_0 () + def test_default_value_is_0() assert_equal 0, @x.num end - def test_get_set_num () + def test_get_set_num() @x.num = 1 assert_equal 1, @x.num end - def test_dup () + def test_dup() assert_equal 0, @x.num x = @x.dup @x.num = 1 assert_equal 1, @x.num assert_equal 0, x.num