Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ if uploaded_files:
|
|
96 |
# \n\nThere should be no duplicate test cases. Avoid generating repeated statements.
|
97 |
# """)
|
98 |
|
99 |
-
prompt=f"""You are a helpful coding assistant. Your task is to generate unit test cases for this function : {snippet}\
|
100 |
\n\nPolitely refuse if the function is not suitable for generating test cases.
|
101 |
\n\nGenerate atleast 5 unit test case. Include couple of edge cases as well.
|
102 |
\n\nThere should be no duplicate test cases. Avoid generating repeated statements.
|
|
|
96 |
# \n\nThere should be no duplicate test cases. Avoid generating repeated statements.
|
97 |
# """)
|
98 |
|
99 |
+
prompt=f"""You are a helpful coding assistant. Your task is to generate unit test cases for this function : \n\n{snippet}\
|
100 |
\n\nPolitely refuse if the function is not suitable for generating test cases.
|
101 |
\n\nGenerate atleast 5 unit test case. Include couple of edge cases as well.
|
102 |
\n\nThere should be no duplicate test cases. Avoid generating repeated statements.
|