コード例 #1
0
 public virtual void testClasse()
 {
     unchecked {
         global::Etudiant e = new global::Etudiant("Bordage", "Pierre");
         e.classe = "sio1";
         this.assertEquals <object>(((object)("sio1")), ((object)(e.classe)), ((object)(new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "testClasse", "TestEtudiant", "Tests.hx" }, new int[] { 1981972957 }, new double[] { ((double)(18)) }))));
     }
 }
コード例 #2
0
 public virtual void testNew()
 {
     unchecked {
         global::Etudiant e = new global::Etudiant("Bordage", "Pierre");
         this.assertEquals <object>(((object)("Bordage")), ((object)(e.nom)), ((object)(new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "testNew", "TestEtudiant", "Tests.hx" }, new int[] { 1981972957 }, new double[] { ((double)(9)) }))));
         this.assertEquals <object>(((object)("Pierre")), ((object)(e.prenom)), ((object)(new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "testNew", "TestEtudiant", "Tests.hx" }, new int[] { 1981972957 }, new double[] { ((double)(10)) }))));
         global::haxe.Log.trace.__hx_invoke2_o(default(double), e.getNom(), default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "testNew", "TestEtudiant", "Tests.hx" }, new int[] { 1981972957 }, new double[] { ((double)(11)) }));
         global::haxe.Log.trace.__hx_invoke2_o(default(double), e.getPrenom(), default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "testNew", "TestEtudiant", "Tests.hx" }, new int[] { 1981972957 }, new double[] { ((double)(12)) }));
     }
 }
コード例 #3
0
ファイル: Etudiant.cs プロジェクト: devIlluSioN/school
 public static void __hx_ctor__Etudiant(global::Etudiant __hx_this, string n, string p)
 {
     __hx_this.nom    = n;
     __hx_this.prenom = p;
 }