Skip to content

Commit 6d1bca6

Browse files
Merge branch 'main' into dependabot/pip/tensorflow-2.18.1
Signed-off-by: Fabiana 🚀 Campanari <113218619+FabianaCampanari@users.noreply.github.com>
2 parents 9164366 + d4075d2 commit 6d1bca6

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@ The **graphical method** for solving simple linear programming (LP) problems inv
244244

245245
## Steps to Solve Graphically
246246

247+
1. **[Plot the Constraints](0:** For each constraint, treat it as an equality and plot the corresponding straight line on the Cartesian plane (\(x_1\) on the horizontal axis, \(x_2\) on the vertical axis).
248+
249+
247250

248251

249252

requirements.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# Framework Web Application:
3-
Django==5.1.6
3+
Django==5.1.7
44

55

66
# Data Manipulation Libraries:
@@ -18,6 +18,9 @@ scikit-learn==1.6.1
1818
# Machine Learning Libraries:
1919
tensorflow==2.18.1
2020
keras==3.8.0
21+
tensorflow==2.18.0
22+
keras==3.9.0
23+
2124

2225
# Natural Language Processing Libraries:
2326
nltk==3.9.1
@@ -28,7 +31,7 @@ beautifulsoup4==4.13.3
2831
requests==2.32.3
2932

3033
# Database Libraries:
31-
sqlalchemy==2.0.38
34+
sqlalchemy==2.0.39
3235
psycopg2-binary==2.9.10
3336

3437
# Jupyter Notebook Libraries:

test_code.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
# Arquivo de teste para o pytest. Este exemplo inclui várias funções de teste e usa fixtures
3+
# do pytest para configuração e limpeza
4+
import pytest
5+
6+
# Fixture para configuração e limpeza
7+
@pytest.fixture
8+
def setup_data():
9+
print("\nSetup")
10+
data = {"key1": "value1", "key2": "value2"}
11+
yield data
12+
print("\nCleanup")
13+
14+
# Função de teste usando a fixture
15+
def test_key1(setup_data):
16+
assert setup_data["key1"] == "value1"
17+
18+
# Outra função de teste usando a fixture
19+
def test_key2(setup_data):
20+
assert setup_data["key2"] == "value2"
21+
22+
# Função de teste sem usar a fixture
23+
def test_addition():
24+
assert 1 + 1 == 2

0 commit comments

Comments
 (0)