input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public void test move system out println move int max x 0 int max y 0 cell cell data null ant eater instance new ant eater instance move max x max y cell data todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of move method of class engine |
public void test draw system out println draw graphics2 d g null int gap 0 ant eater instance new ant eater instance draw g gap todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of draw method of class engine |
public void test set damage system out println set damage int damage 0 terrain instance new terrain instance set damage damage todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set damage method of class engine |
public void test get x system out println get x ant impl instance new ant impl float exp result 0 0 f float result instance get x assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get x method of class engine |
public void test set name system out println set name string name terrain instance new terrain instance set name name todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set name method of class engine |
public void test set accesible system out println set accesible boolean accesible true terrain instance new terrain instance set accesible accesible todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set accesible method of class engine |
public void test get height system out println get height terrain instance new terrain int exp result 0 int result instance get height assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get height method of class engine |
public void test retrieve system out println retrieve int food request 0 food instance null food exp result null food result instance retrieve food request assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of retrieve method of class engine |
public void test create worker system out println create worker ant worker impl aw null ant queen impl instance new ant queen impl instance create worker aw todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of create worker method of class engine |
public void test set x system out println set x float x 0 0 f ant impl instance new ant impl instance set x x todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set x method of class engine |
public void test set height system out println set height int height 0 terrain instance new terrain instance set height height todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set height method of class engine |
public void test create warrior system out println create warrior ant warrior impl aw null ant queen impl instance new ant queen impl instance create warrior aw todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of create warrior method of class engine |
public void test get food store system out println get food store food instance null int exp result 0 int result instance get food store assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get food store method of class engine |
public void test get terrain system out println get terrain int terrain name 0 terrain exp result null terrain result terrain get terrain terrain name assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get terrain method of class engine |
public void test get ant workers system out println get ant workers ant queen impl instance new ant queen impl vector exp result null vector result instance get ant workers assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get ant workers method of class engine |
public void test get y system out println get y ant impl instance new ant impl float exp result 0 0 f float result instance get y assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get y method of class engine |
public void test get ant warriors system out println get ant warriors ant queen impl instance new ant queen impl vector exp result null vector result instance get ant warriors assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get ant warriors method of class engine |
public void test get color system out println get color terrain instance new terrain color exp result null color result instance get color assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get color method of class engine |
public void test set food store system out println set food store int food store 0 food instance null instance set food store food store todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set food store method of class engine |
public void test is borning system out println is borning ant queen impl instance new ant queen impl boolean exp result true boolean result instance is borning assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of is borning method of class engine |
public void test set color system out println set color color color null terrain instance new terrain instance set color color todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set color method of class engine |
public void test set y system out println set y float y 0 0 f ant impl instance new ant impl instance set y y todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set y method of class engine |
public void test set borning system out println set borning boolean borning true ant queen impl instance new ant queen impl instance set borning borning todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set borning method of class engine |
public void test get food name system out println get food name food instance null string exp result string result instance get food name assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get food name method of class engine |
public void test set food name system out println set food name string food name food instance null instance set food name food name todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set food name method of class engine |
public void test get food system out println get food ant queen impl instance new ant queen impl int exp result 0 int result instance get food assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get food method of class engine |
public void test get ant system out println get ant cell instance new cell ant exp result null ant result instance get ant assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get ant method of class engine |
public void test get food weight system out println get food weight food instance null int exp result 0 int result instance get food weight assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get food weight method of class engine |
public void test set ant system out println set ant ant ant null cell instance new cell instance set ant ant todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set ant method of class engine |
public void test pos x system out println pos x ant impl instance new ant impl int exp result 0 int result instance pos x assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of pos x method of class engine |
public void test request food system out println request food int ammount 0 ant queen impl instance new ant queen impl int exp result 0 int result instance request food ammount assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of request food method of class engine |
public void test get food system out println get food cell instance new cell food exp result null food result instance get food assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get food method of class engine |
public void test get food nutrients system out println get food nutrients food instance null int exp result 0 int result instance get food nutrients assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get food nutrients method of class engine |
public void test set food system out println set food food food null cell instance new cell instance set food food todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set food method of class engine |
public void test set food nutrients system out println set food nutrients int food nutrients 0 food instance null instance set food nutrients food nutrients todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set food nutrients method of class engine |
public void test recive food system out println recive food food food null ant queen impl instance new ant queen impl instance recive food food todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of recive food method of class engine |
public void test update system out println update observable observable null object object null cell instance new cell instance update observable object todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of update method of class engine |
public void test pos y system out println pos y ant impl instance new ant impl int exp result 0 int result instance pos y assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of pos y method of class engine |
public void test get color system out println get color food instance null color exp result null color result instance get color assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get color method of class engine |
public void test get ant eater system out println get ant eater cell instance new cell boolean exp result true boolean result instance get ant eater assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get ant eater method of class engine |
public void test die system out println die ant worker impl ant new ant worker impl ant queen impl instance new ant queen impl instance set cell data this get empty field 10 10 10 10 instance set x 5 instance set y 5 instance create worker ant assert true instance get ant workers size 1 ant die assert true instance get ant workers size 0 | test of remove died ant method of class engine |
public void test set ant eater system out println set ant eater boolean ant eater true cell instance new cell instance set ant eater ant eater todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set ant eater method of class engine |
public void test set color system out println set color color color null food instance null instance set color color todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set color method of class engine |
public void test get terrain system out println get terrain cell instance new cell terrain exp result null terrain result instance get terrain assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get terrain method of class engine |
public void test get new instance system out println get new instance food instance null food exp result null food result instance get new instance assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get new instance method of class engine |
public void test update pos system out println update pos ant impl instance new ant impl instance update pos todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of update pos method of class engine |
public void test set terrain system out println set terrain terrain terrain null cell instance new cell instance set terrain terrain todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set terrain method of class engine |
public void test draw system out println draw graphics g null int gap 0 ant queen impl instance new ant queen impl instance draw g gap todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of draw method of class engine |
public void test draw system out println draw graphics g null int gap 0 ant worker impl instance new ant worker impl instance draw g gap todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of draw method of class engine |
public void test draw system out println draw graphics g null int gap 0 ant warrior impl instance new ant warrior impl instance draw g gap todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of draw method of class engine |
public void test update system out println update observable observable null object object null ant queen impl instance new ant queen impl instance update observable object todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of update method of class engine |
public void test get energy life system out println get energy life ant impl instance new ant impl float exp result 0 0 f float result instance get energy life assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get energy life method of class engine |
public void test get alive colonys system out println get alive colonys contest engine instance new contest engine impl crear dos colonias ant queen impl colony1 new ant queen impl ant queen impl colony2 new ant queen impl instance colonias clear int exp result 0 int result instance get alive colonys assert equals exp result result agregar estas colonias al motor instance colonias add colony1 instance colonias add colony2 exp result 2 result instance get alive colonys assert equals exp result result | test of get alive colonys method of class engine |
public void test set energy life system out println set energy life float energy 0 0 f ant impl instance new ant impl instance set energy life energy todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set energy life method of class engine |
public void test play match system out println play match contest engine instance new contest engine impl instance colonias clear ant queen impl col1 new ant queen impl instance colonias add col1 recupera la energ a actual float edad col1 get edad jugar una partida instance play match el motor deber a haber seleccionado la hormiga y haberla hecho mover por lo que deber a haber perdido energ a system out println system out println energy col1 get energy life assert true edad col1 get edad | test of play match method of class engine |
public void test place food at system out println place food at int x 0 int y 0 int d 1 food food new food 1 1 1 contest engine impl instance new contest engine impl instance place food at x y d food assert true instance cell data 0 0 get food get food nutrients 1 assert true instance cell data 0 0 get food get food store 1 assert true instance cell data 0 0 get food get food weight 1 | test of place food at method of class engine |
public void test get max lift system out println get max lift ant impl instance new ant impl int exp result 0 int result instance get max lift assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get max lift method of class engine |
public void test paint ants system out println paint ants graphics2 d g null contest engine instance null instance paint ants g todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of paint ants method of class engine |
public void test get war representation system out println get war representation contest engine instance null buffered image exp result null buffered image result instance get war representation assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get war representation method of class engine |
public void test set max lift system out println set max lift int max lift 0 ant impl instance new ant impl instance set max lift max lift todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set max lift method of class engine |
public void test remove ant killed system out println remove ant killed ant ant null contest engine instance null instance remove ant killed ant todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of remove ant killed method of class engine |
public void test generate system out println generate maze instance null int exp result null int result instance generate assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of generate method of class engine |
public void test close treasure room system out println close treasure room maze instance null instance close treasure room todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of close treasure room method of class engine |
public void test match statistics system out println match statistics contest engine instance null stats exp result null stats result instance match statistics assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of match statistics method of class engine |
public void test get edad system out println get edad ant impl instance new ant impl int exp result 0 int result instance get edad assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get edad method of class engine |
public void test calculate internals path system out println calculate internals path maze instance null instance calculate internals path todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of calculate internals path method of class engine |
public void test open treasure doors system out println open treasure doors maze instance null instance open treasure doors todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of open treasure doors method of class engine |
public void test move ant eater system out println move ant eater contest engine instance null instance move ant eater todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of move ant eater method of class engine |
public void test open maze doors system out println open maze doors maze instance null instance open maze doors todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of open maze doors method of class engine |
public void test update system out println update observable observable null object object null contest engine instance null instance update observable object todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of update method of class engine |
public void test grow system out println grow ant impl instance new ant impl instance grow todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of grow method of class engine |
public void test get atack power system out println get atack power ant impl instance new ant impl int exp result 0 int result instance get atack power assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get atack power method of class engine |
public void test set atack power system out println set atack power int atack power 0 ant impl instance new ant impl instance set atack power atack power todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set atack power method of class engine |
public void test get max speed system out println get max speed ant impl instance new ant impl float exp result 0 0 f float result instance get max speed assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get max speed method of class engine |
public void test set max speed system out println set max speed float max speed 0 0 f ant impl instance new ant impl instance set max speed max speed todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set max speed method of class engine |
public void test move system out println move ant impl instance new ant impl instance move todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of move method of class engine |
public void test get hunger system out println get hunger ant impl instance new ant impl int exp result 0 int result instance get hunger assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get hunger method of class engine |
public void test set hunger system out println set hunger int hunger 0 ant impl instance new ant impl instance set hunger hunger todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set hunger method of class engine |
public void test draw system out println draw graphics g null int gap 0 ant impl instance new ant impl instance draw g gap todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of draw method of class engine |
public void test get dx system out println get dx ant impl instance new ant impl float exp result 0 0 f float result instance get dx assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get dx method of class engine |
public void test set dx system out println set dx float dx 0 0 f ant impl instance new ant impl instance set dx dx todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set dx method of class engine |
public void test get dy system out println get dy ant impl instance new ant impl float exp result 0 0 f float result instance get dy assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get dy method of class engine |
public void test set dy system out println set dy float dy 0 0 f ant impl instance new ant impl instance set dy dy todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set dy method of class engine |
public void test get cell data system out println get cell data ant impl instance new ant impl cell exp result null cell result instance get cell data assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get cell data method of class engine |
public void test set cell data system out println set cell data cell cell data null int x dim 0 int y dim 0 ant impl instance new ant impl instance set cell data cell data x dim y dim todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set cell data method of class engine |
public void test get my queen system out println get my queen ant impl instance new ant impl ant queen exp result null ant queen result instance get my queen assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get my queen method of class engine |
public void test set my queen system out println set my queen ant queen my queen null ant impl instance new ant impl instance set my queen my queen todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set my queen method of class engine |
public void test get eat system out println get eat ant impl instance new ant impl int exp result 0 int result instance get eat assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get eat method of class engine |
public void test get ant color system out println get ant color ant impl instance new ant impl color exp result null color result instance get ant color assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get ant color method of class engine |
public void test get food lifted system out println get food lifted ant impl instance new ant impl food exp result null food result instance get food lifted assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get food lifted method of class engine |
public void test drop food system out println drop food ant impl instance new ant impl instance drop food todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of drop food method of class engine |
public void test update experience system out println update experience float learned 0 0 f ant impl instance new ant impl instance update experience learned todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of update experience method of class engine |
public void test get max energy life system out println get max energy life ant impl instance new ant impl float exp result 0 0 f float result instance get max energy life assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get max energy life method of class engine |
public void test get line of sight system out println get line of sight ant impl instance new ant impl int exp result 0 int result instance get line of sight assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get line of sight method of class engine |
public void set profile time boolean pp cc profile time pp | set the profiler |
public void set magnification double d multiply sizes set text d | set the magnification factor for vector format export |
public double get magnification return double parse double multiply sizes get text | get the magnification factor for vector format export |
public string get text font for int i 0 i primitive vector size i return graphic primitive primitive vector get i get macro font return macro font | get the font of all macros |
public void undo push object state if undo buffer size undo buffer capacity undo buffer remove element at 0 pointer undo buffer add pointer state is redoable false for int i pointer i undo buffer size i undo buffer remove element at pointer | pushes a new undo state in the buffer |
public void answer finder application app new application app set enabled preferences menu true app get application add application listener this | create an application listener able to respond to a few finder events |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.