#NEWLINE# def test_case2( self ) : #NEWLINE# #INDENT# Vin = 3.0 #NEWLINE# Vout = 25.0 #NEWLINE# self . assembly . V = np . linspace ( Vout , Vout , 50 ) #NEWLINE# self . assembly . P = ( self . assembly . V ** 3 ) #NEWLINE# self . assembly . Prated = ( 50 ** 3 ) #NEWLINE# self . assembly . Vin = Vin #NEWLINE# self . assembly . Vout = Vout #NEWLINE# self . assembly . invalid_bracket_return = 1.0 #NEWLINE# self . assembly . run ( ) #NEWLINE# assert_almost_equal ( self . assembly . Vrated , 25.0 , decimal = 7 )