Skip to content

Instantly share code, notes, and snippets.

@knwang
Created January 11, 2015 21:29
Show Gist options
  • Save knwang/6fd0be2455bb3df35695 to your computer and use it in GitHub Desktop.
Save knwang/6fd0be2455bb3df35695 to your computer and use it in GitHub Desktop.
class MySet
end
require 'minitest/autorun'
class TestMySet < Minitest::Test
def test_empty_set_should_have_size_0
end
def test_initialize_with_an_array
end
def test_empty_set_is_empty
end
def test_non_empty_set_is_not_empty
end
def test_return_elements_as_an_array
end
def test_add_an_element
end
def test_initialize_with_duplicates
end
def test_add_a_duplicate
end
def test_delete_an_element
end
def test_super_set_of_another_set
end
def test_not_super_set_of_another_set
end
def test_sub_set_of_another_set
end
def test_not_sub_set_of_another_set
end
def test_compare_sets_equal
end
def test_compare_sets_not_equal
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment