benjaminBoboul/workbench-getting-started-with-scala

View on GitHub
src/main/scala/calculus/Complex.scala

Summary

Maintainability
A
0 mins
Test Coverage

There should be a space before the plus (+) sign
Open

  def getExp: String = getModulus.toString + "*exp(i*"+getArgument+")"

There should be a space after the plus (+) sign
Open

  def getModulus: Double = math.sqrt(math.pow(x, 2)+math.pow(y,2))

There should be a space before the plus (+) sign
Open

  def getModulus: Double = math.sqrt(math.pow(x, 2)+math.pow(y,2))

There should be a space before the plus (+) sign
Open

  def getExp: String = getModulus.toString + "*exp(i*"+getArgument+")"

There should be a space after the plus (+) sign
Open

  def getExp: String = getModulus.toString + "*exp(i*"+getArgument+")"

There are no issues that match your filters.

Category
Status