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-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.*;

//  
//   
//    
//      
//       
//       
//     
//      
//       
//       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 = new EOorg.EOeolang.EOseq(rho);
        ret = new PhLocated(ret, 195, 6);
      ret = new PhCopy(ret);
        Phi ret_1_base = new PhMethod(new PhMethod(rho, "σ"), "mismatch");
          ret_1_base = new PhLocated(ret_1_base, 196, 8);
        Phi ret_1 = new PhMethod(ret_1_base, "write");
        ret_1 = new PhCopy(ret_1);
          Phi ret_1_1 = new PhMethod(rho, "actual-delta");
            ret_1_1 = new PhLocated(ret_1_1, 196, 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, 197, 8);
        Phi ret_2 = new PhMethod(ret_2_base, "leq");
        ret_2 = new PhCopy(ret_2);
          Phi ret_2_1 = new EOorg.EOeolang.EOfloat(rho);
            ret_2_1 = new PhLocated(ret_2_1, 197, 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, 198, 6);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy