Skip to content

Possible mistake in the assertions about the angles of the Triangle class #91

Open
@esemsc-gh124

Description

@esemsc-gh124

Dear Dr Beg,

Some assertions made about the angles() method of the Triangle class in lecture 5 are possibly wrong, because they don't agree with the specification for the method.

add a method to the Triangle class called angles(). It should return a tuple of three floats, each representing the interior angle in radians of the vertices of the triangle, ordered so that the first angle is at the first vertex of the triangle, and so on.

However, in the assertions, it appears that the angles of the first and second vertices are accidentally swapped.
sc1

I appreciate your time into this issue in advance.

Yours truly,
esemsc-df329480 (Guanyuming He)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions