Skip to content

Conversation

@wainch
Copy link

@wainch wainch commented Jul 16, 2025

No description provided.

Copy link
Owner

@gemtechd gemtechd left a comment

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
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
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

Copy link
Owner

@gemtechd gemtechd left a comment

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
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