diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2009-10-05 10:47:00 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2009-10-05 10:47:00 -0700 |
commit | 81929a6aa2b6d26958401e67b83019e31275ef5c (patch) | |
tree | d9e554ce338dc75b22578ebc746fdd6f1c7669e4 /test/visitors/test_yast_builder.rb | |
parent | b1cec69c840b12bb6351a40b9a97ebac029b1b6e (diff) | |
download | psych-81929a6aa2b6d26958401e67b83019e31275ef5c.zip |
supporting complex numbers
Diffstat (limited to 'test/visitors/test_yast_builder.rb')
-rw-r--r-- | test/visitors/test_yast_builder.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/visitors/test_yast_builder.rb b/test/visitors/test_yast_builder.rb index d00a21c..6681575 100644 --- a/test/visitors/test_yast_builder.rb +++ b/test/visitors/test_yast_builder.rb @@ -8,6 +8,10 @@ module Psych @v = Visitors::YASTBuilder.new end + def test_complex + assert_round_trip Complex(1,2) + end + def test_circular_list a = [] 2.times { a << a } |