




"""simple docstring"""






from unittest.mock import Mock, patch

from file_transfer.send_file import send_file







@patch('socket.socket'	)
@patch('builtins.open'	)
def   _snake_case    (       lowercase__							,					lowercase__	):
				# ===== initialization =====
				_lowerCamelCase  :    List[Any]					=					Mock()
				_lowerCamelCase  :    List[str]					=					conn, Mock()
				_lowerCamelCase  :    Tuple					=					iter([1, None]	)
				_lowerCamelCase  :    Dict					=					lambda lowercase__	: next(lowercase__	)

				# ===== invoke =====
				send_file(filename='mytext.txt'							,					testing=lowercase__	)

				# ===== ensurance =====
				sock.assert_called_once()
				sock.return_value.bind.assert_called_once()
				sock.return_value.listen.assert_called_once()
				sock.return_value.accept.assert_called_once()
				conn.recv.assert_called_once()

				file.return_value.__enter__.assert_called_once()
				file.return_value.__enter__.return_value.read.assert_called()

				conn.send.assert_called_once()
				conn.close.assert_called_once()
				sock.return_value.shutdown.assert_called_once()
				sock.return_value.close.assert_called_once()





"""simple docstring"""






def   _snake_case    (       lowercase__ = 1000	):
				_lowerCamelCase,				_lowerCamelCase  :    Optional[int]					=					1, 1
				_lowerCamelCase  :    int					=					[]
				for i in range(1							,					n + 1	):
								_lowerCamelCase  :    Tuple					=					prev_numerator + 2 * prev_denominator
								_lowerCamelCase  :    str					=					prev_numerator + prev_denominator
								if len(str(lowercase__	)	) > len(str(lowercase__	)	):
												result.append(lowercase__	)
								_lowerCamelCase  :    Dict					=					numerator
								_lowerCamelCase  :    Optional[int]					=					denominator

				return len(lowercase__	)


if __name__ == "__main__":
			print(F"{solution() = }")