Skip to content

Devmy#8

Open
wainch wants to merge 6 commits into
gemtechd:mainfrom
wainch:devmy
Open

Devmy#8
wainch wants to merge 6 commits into
gemtechd:mainfrom
wainch:devmy

Conversation

@wainch

@wainch wainch commented Jul 16, 2025

Copy link
Copy Markdown

No description provided.

@gemtechd gemtechd left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see that each test executes only one function
remove all remarks that ypu added

const point2 = new Point({ x: 3, y: 6 });
const line = new Line({ point1, point2 });
line.calculateSlope();
line.calculateNOfLineFunction();

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't call two functions in one test
each test executes only one function
if you expect that a certain function will also be executed, do it inside the function

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still more then one function is executed

@gemtechd gemtechd left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You still call more then one function on a test
and change from test functions to it function

const point2 = new Point({ x: 3, y: 6 });
const line = new Line({ point1, point2 });
line.calculateSlope();
line.calculateNOfLineFunction();

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still more then one function is executed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants