All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wavesplatform.test.package.scala Maven / Gradle / Ivy

The newest version!
package com.wavesplatform

import org.scalatest.matchers.Matcher

package object test {
  implicit class NumericExt[N](val x: N) extends AnyVal {
    def waves(implicit n: Numeric[N]): Long = (BigDecimal(n.toDouble(x)) * 1_0000_0000L).toLong
  }

  def produce(err: String): Matcher[Either[?, ?]] = new ProduceError(err)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy