Sha256: 91ae614b7ee9b72a005407b38bf16c87c7e67ac004bff69f288d027bc2aaeec8

Contents?: true

Size: 502 Bytes

Versions: 141

Compression:

Stored size: 502 Bytes

Contents

import java.io.File

import testgen.TestSuiteBuilder._
import testgen._

object DifferenceOfSquaresTestGenerator {
  def main(args: Array[String]): Unit = {
    val file = new File("src/main/resources/difference-of-squares.json")

    val code = TestSuiteBuilder.build(file,
        fromLabeledTestAlt("squareOfSum" -> Seq("number"), "sumOfSquares" -> Seq("number"),
          "differenceOfSquares" -> Seq("number")))
    println(s"-------------")
    println(code)
    println(s"-------------")
  }
}

Version data entries

141 entries across 141 versions & 1 rubygems

Version Path
trackler-2.1.0.28 tracks/scala/testgen/src/main/scala/DifferenceOfSquaresTestGenerator.scala