Skip to content

Commit

Permalink
fix csharp testcode generator
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Aug 9, 2023
1 parent 1f1cc6b commit 385f018
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ class CsharpRequestTestRenderer constructor(override val vrapTypeProvider: VrapT
is BooleanType -> true
is IntegerType -> r.nextInt(1, 10)
is NumberType -> when (type.format) {
NumberFormat.DOUBLE -> r.nextDouble().toString() + "m"
NumberFormat.FLOAT -> r.nextFloat().toString() + "m"
NumberFormat.DOUBLE -> r.nextDouble().toString()
NumberFormat.FLOAT -> r.nextFloat().toString()
else -> r.nextInt(1, 10)
}
else -> name
Expand Down

0 comments on commit 385f018

Please sign in to comment.