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

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

/*
 * This file was auto-generated by eolang-maven-plugin
 * on 2022-07-25T15:16:18.194Z. Don't edit it,
 * your changes will be discarded on the next build.
 *
 * The EO sources were compiled to XMIR on
 * 2022-07-25T15:14:41.001213Z by the compiler v.0.24.0.
 */

package EOorg.EOeolang.EOhamcrest;

import org.eolang.*;

//  
//   
//    
//      
//       
//       
//     
//      
//       
//       0.0
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "assert-that$close-to$match", oname = "match", source = "/home/r/repo/src/main/eo/org/eolang/hamcrest/assert-that.eo")
public final class EOassert_that$EOclose_to$EOmatch extends PhDefault {
  public EOassert_that$EOclose_to$EOmatch(final Phi sigma) {
    super(sigma);
    this.add("a", new AtFree(/* default */));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("seq").get();
        ret = new PhLocated(ret, 203, 6);
      ret = new PhCopy(ret);
        Phi ret_1_base = new PhMethod(new PhMethod(rho, "σ"), "mismatch");
          ret_1_base = new PhLocated(ret_1_base, 204, 8);
        Phi ret_1 = new PhMethod(ret_1_base, "write");
          ret_1 = new PhLocated(ret_1, 204, 16);
        ret_1 = new PhCopy(ret_1);
          Phi ret_1_1 = new PhMethod(rho, "actual-delta");
            ret_1_1 = new PhLocated(ret_1_1, 204, 23);
          ret_1 = new PhWith(ret_1, 0, ret_1_1);
        Phi ret_2_base = new PhMethod(rho, "actual-delta");
          ret_2_base = new PhLocated(ret_2_base, 205, 8);
        Phi ret_2 = new PhMethod(ret_2_base, "lte");
          ret_2 = new PhLocated(ret_2, 205, 20);
        ret_2 = new PhCopy(ret_2);
          Phi ret_2_1 = new EOorg.EOeolang.EOfloat(Phi.Φ);
            ret_2_1 = new PhLocated(ret_2_1, 205, 25);
            ret_2_1 = new PhWith(ret_2_1, "Δ", new Data.Value(0.0d));
          ret_2 = new PhWith(ret_2, 0, ret_2_1);
        ret = new PhWith(ret, 0, ret_1);
        ret = new PhWith(ret, 1, ret_2);
      return ret;
    })));
    this.add("actual-delta", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOassert_that$EOclose_to$EOmatch$EOactual_delta(rho);
        ret = new PhLocated(ret, 206, 6);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy