diff options
| author | Randy Morgan <[email protected]> | 2012-05-15 11:23:59 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-05-15 11:23:59 +0900 |
| commit | 2d744ba77906d460b608859c945a5741ec725e42 (patch) | |
| tree | 0366b619ea15909d230a2fa485a95d395486d6cf /test/util | |
| parent | 2e1e14dd8f91e8a1416faae9501fdf04638104c7 (diff) | |
| download | caxlsx-2d744ba77906d460b608859c945a5741ec725e42.tar.gz caxlsx-2d744ba77906d460b608859c945a5741ec725e42.zip | |
bring coverage up to 100% and patch a few minor bugs in cell style overrides and misnamed app attributes.
Diffstat (limited to 'test/util')
| -rw-r--r-- | test/util/tc_simple_typed_list.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/util/tc_simple_typed_list.rb b/test/util/tc_simple_typed_list.rb index 482ea8e3..d74cc9cc 100644 --- a/test/util/tc_simple_typed_list.rb +++ b/test/util/tc_simple_typed_list.rb @@ -61,5 +61,18 @@ class TestSimpleTypedList < Test::Unit::TestCase assert_nothing_raised { @list.delete 0 } assert_nothing_raised { @list.delete 9 } end + + def test_delete + @list.push 1 + assert(@list.size == 1) + @list.delete 1 + assert(@list.empty?) + end + def test_equality + @list.push 1 + @list.push 2 + assert_equal(@list, [1,2]) + + end end |
