|
|
|
@ -8,7 +8,7 @@ require_relative 'binary_search_tree'
|
|
|
|
|
|
|
|
|
|
def test_classes
|
|
|
|
|
contact = Contact.new(phone: '+798912465', telegram: '@example_user', email: 'test@example.com')
|
|
|
|
|
puts "Contact Info: #{contact.info}"
|
|
|
|
|
puts "Contact Info: #{contact.get_single_contact}"
|
|
|
|
|
|
|
|
|
|
person = Person.new(id: '1', git: 'https://github.com/example', contact: contact)
|
|
|
|
|
puts "Person Contact Info: #{person.contact_info}"
|
|
|
|
|