input: Write a function to design a class in Python for storing movie information including the name, year of release, genre, and rating. The class should have an __init__ method to initialize these attributes.
  
  class Movie:
      def __init__(self, name, release_year, genre, rating):
          self.name = name
          self.release_year = release_year
          self.genre = genre
          self.rating = rating
  
  assert Movie("Interstellar", 2014, "Sci-Fi", 8.4).__dict__ == {'name': 'Interstellar', 'release_year': 2014, 'genre': 'Sci-Fi', 'rating': 8.4}
  assert Movie("The Dark Knight", 2008, "Action", 9.0).__dict__ == {'name': 'The Dark Knight', 'release_year': 2008, 'genre': 'Action', 'rating': 9.0}
  assert Movie("Inception", 2010, "Sci-Fi", 8.8).__dict__ == {'name': 'Inception', 'release_year': 2010, 'genre': 'Sci-Fi', 'rating': 8.8}
output: class Movie:
      def __init__(self, name, release_year, genre, rating):
          self.name = name
          self.release_year = release_year
          self.genre = genre
          self.rating = rating