Skip to content

Wrong display names generated for Recursion#factorial() #899

@onewhl

Description

@onewhl

Description

Wrong display names generated for Recursion#factorial().

To Reproduce

Run test generation for class Recursion in utbot-sample module.

Expected behavior
Display names should be equal

n == 0 : True -> return 1
n == 0 : False -> return n * factorial(n - 1)
n < 0 -> Throw IllegalArgumentException

Actual behavior

The tool generated these names:

-> return 1
-> return 1
n < 0 -> Throw IllegalArgumentException

Metadata

Metadata

Assignees

Labels

ctg-bugIssue is a bug

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions