import unittest
import main

class TestMain(unittest.TestCase):
	def test_do_stuff(self):
		test_param = 10
		result = main.do_stuff(test_param)
		self.assertEqual(result,15)


	def test_do_stuff2(self):
		test_param = 'shkes'
		result = main.do_stuff(test_param)
		self.assertIsInstance(result,ValueError)

	def test_do_stuff3(self):
		test_param = None
		result = main.do_stuff(test_param)
		self.assertEqual(result,'Please Enter Number')

	def test_do_stuff4(self):
		test_param = ''
		result = main.do_stuff(test_param)
		self.assertEqual(result,'Please Enter Number')

	def test_do_stuff5(self):
		test_param = 0
		result = main.do_stuff(test_param)
		self.assertEqual(result,'Please Enter Number')

if __name__ == '__main__':
	unittest.main()
		