Skip to content

Exercise "Wordy": README.md doesn't exactly match tests #130

Closed
@antonshevyrin

Description

@antonshevyrin

In README.md the following is written:

If you'd like, handle exponentials.
> What is 2 raised to the 5th power?

But in wordy.tests.ts:

  xit('too advanced', () => {
    const question = 'What is 53 cubed?'
    const problem  = new WordProblem(question)

    expect(problem.answer.bind(problem)).toThrowError( ArgumentError )
  })

README.md doesn't say anything about implementing unary operations. I understand that handling exponentials is considered as optional but in my opinion it is still a bit confusing when tests are so different from description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions