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

EOorg.EOeolang.EOhamcrest.EOassert_that$EOclose_to$EOdescribe_mismatch Maven / Gradle / Ivy

There is a newer version: 0.5.1
Show newest version
/*
 * This file was auto-generated by eolang-maven-plugin
 * on 2022-05-18T09:52:40.74Z. Don't edit it,
 * your changes will be discarded on the next build.
 *
 * The EO sources were compiled to XMIR on
 * 2022-05-18T09:51:34.536900Z by the compiler v.0.22.2.
 */

package EOorg.EOeolang.EOhamcrest;

import org.eolang.*;

//  
//    
//     <%s> differed by <%s> more than delta <%s>
//     
//     
//     
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "assert-that$close-to$describe-mismatch", oname = "describe-mismatch", source = "/home/r/repo/src/main/eo/org/eolang/hamcrest/assert-that.eo")
public final class EOassert_that$EOclose_to$EOdescribe_mismatch extends PhDefault {
  public EOassert_that$EOclose_to$EOdescribe_mismatch(final Phi sigma) {
    super(sigma);
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOorg.EOeolang.EOtxt.EOsprintf(rho);
        ret = new PhLocated(ret, 205, 6);
      ret = new PhCopy(ret);
        Phi ret_1 = new EOorg.EOeolang.EOstring(rho);
          ret_1 = new PhLocated(ret_1, 206, 8);
          ret_1 = new PhWith(ret_1, "Δ", new Data.Value("<%s> differed by <%s> more than delta <%s>"));
        Phi ret_2 = new PhMethod(new PhMethod(new PhMethod(rho, "σ"), "σ"), "actual");
          ret_2 = new PhLocated(ret_2, 207, 8);
        Phi ret_3 = new PhMethod(new PhMethod(rho, "σ"), "mismatch");
          ret_3 = new PhLocated(ret_3, 208, 8);
        Phi ret_4 = new PhMethod(new PhMethod(rho, "σ"), "err");
          ret_4 = new PhLocated(ret_4, 209, 8);
        ret = new PhWith(ret, 0, ret_1);
        ret = new PhWith(ret, 1, ret_2);
        ret = new PhWith(ret, 2, ret_3);
        ret = new PhWith(ret, 3, ret_4);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy