input
stringlengths
10
828
output
stringlengths
5
107
private fcomp exp lequal d op simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtvar duration cn2 get id lexer tree constants jjtd value variable cv new variable variable durative variable type number return new lequal comp cv this d value cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code lequal d op code node
private fcomp exp gequal d op simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtvar duration cn2 get id lexer tree constants jjtd value variable cv new variable variable durative variable type number return new gequal comp cv this d value cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code gequal d op code node
private or exp empty or simple node node throws parser exception return new or exp
extracts the object structures from the code empty or code node
private derived predicate derived def simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtatomic formula cn2 get id lexer tree constants jjtgd atomic formula head this atomic formula cn1 exp body this gd cn2 derived predicate axiom new derived predicate head body this obj axioms add axiom return axiom throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code derived def code node
private void action def body simple node node action action throws parser exception this action ctx action if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtpre gd cn2 get id lexer tree constants jjteffect action set precondition this pre gd cn1 action set effect this effect cn2 else this action ctx null else this action ctx null this action ctx null
extracts the object structures from the code action def body code node
private exp effect simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 switch cn get id case lexer tree constants jjtand c effect return this and c effect cn case lexer tree constants jjtc effect return this c effect cn default throw new parser exception an internal parser error occurs node cn get label unexpected return null
extracts the object structures from the code effect code node
private exp c effect simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 switch cn get id case lexer tree constants jjtforall effect return this forall effect cn case lexer tree constants jjtwhen con effect return this when con effect cn case lexer tree constants jjtp effect return this p effect cn default throw new parser exception an internal parser error occurs node cn get label unexpected throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code effect code node
private when exp when con effect simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtgd cn2 get id lexer tree constants jjtcond effect exp cond this gd cn1 exp effect this cond effect cn2 return new when exp cond effect throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code when con effect code
private exp cond effect simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 switch cn get id case lexer tree constants jjtand p effect return this and p effect cn case lexer tree constants jjtp effect return this p effect cn default throw new parser exception an internal parser error occurs node cn get label unexpected throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code when c effect code
private and exp and p effect simple node node throws parser exception and exp exp new and exp for int i 0 i node jjt get num children i simple node cn simple node node jjt get child i switch cn get id case lexer tree constants jjtp effect exp add this p effect cn break default throw new parser exception an internal parser error occurs node cn get label unexpected return exp
extracts the object structures from the code and p effect code
private scale up scale up simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf head cn2 get id lexer tree constants jjtf exp return new scale up this f head cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code scale up code
private decrease decrease simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf head cn2 get id lexer tree constants jjtf exp return new decrease this f head cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code decrease code
private increase increase simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf head cn2 get id lexer tree constants jjtf exp return new increase this f head cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code increase code
private scale down scale down simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf head cn2 get id lexer tree constants jjtf exp return new scale down this f head cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code scale down code
private assign assign simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf head cn2 get id lexer tree constants jjtf exp return new assign this f head cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code assign code
private and exp and c effect simple node node throws parser exception and exp effect new and exp for int i 0 i node jjt get num children i simple node cn simple node node jjt get child i if cn get id lexer tree constants jjtc effect effect add this c effect cn else throw new parser exception an internal parser error occurs node node get label unexpected return effect
extracts the object structures from the code and c effect code
private and exp and pre gd simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 if cn get id lexer tree constants jjtpre gd and exp pre gd new and exp pre gd add this pre gd cn return pre gd throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code and pre gd code
private exp pref gd simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 switch cn get id case lexer tree constants jjtnamed pref gd return this named pref gd cn case lexer tree constants jjtgd return this gd cn default throw new parser exception an internal parser error occurs node cn get label unexpected throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code pref gd code node
private string action name simple node node throws parser exception return node get image
extracts the object structures from the code action name code node
private string primitive type simple node node throws parser exception return node get image
extracts the object structures from the code primitive type code
private constant constant simple node node throws parser exception constant cons new constant node get image new type type object symbol obj types if this constant def constant cst this obj constants get cons get image if cst null this mgr log parser error constant cons undefined this file node get line node get column else cons cst return cons
extracts the object structures from the code constant code node of
private string predicate simple node node throws parser exception return node get image
extracts the object structures from the code predicate code node of
private string functor simple node node throws parser exception return node get image
extracts the object structures from the code functor code node of
private and exp and pref con gd simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 if cn get id lexer tree constants jjtpref con gd and exp pre con gd new and exp pre con gd add this pref con gd cn return pre con gd throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code and pref con gd code
private string pref name simple node node throws parser exception return node get image
extracts the object structures from the code pref name code node of
private within exp within con gd simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtnumber cn2 get id lexer tree constants jjtgd number time this number cn1 exp exp this gd cn2 return new within exp exp time throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code within code node of the
private sometime exp sometime con gd simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 if cn get id lexer tree constants jjtgd exp exp this gd cn return new sometime exp exp throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code sometime code node of
private always exp always con gd simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 if cn get id lexer tree constants jjtgd exp exp this gd cn return new always exp exp throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code always code node of the
private and exp and con gd simple node node throws parser exception and exp and new and exp for int i 0 i node jjt get num children i simple node cn simple node node jjt get child i switch cn get id case lexer tree constants jjtcon gd and add this con gd cn break default throw new parser exception an internal parser error occurs node cn get label unexpected return and
extracts the object structures from the code and con gd code node of
private at end timed exp at end con gd simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 if cn get id lexer tree constants jjtcon gd exp exp this gd cn return new at end timed exp exp throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code at end con gd code node
private fcomp exp f comp simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 if cn get id lexer tree constants jjtbinary comp return this binary comp cn throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code fcomp code node of the
private greater comp greater comp simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf exp cn2 get id lexer tree constants jjtf exp return new greater comp this f exp cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code greater comp code node
private less comp less comp simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf exp cn2 get id lexer tree constants jjtf exp return new less comp this f exp cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code less comp code node of
private equal comp equal comp simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf exp cn2 get id lexer tree constants jjtf exp return new equal comp this f exp cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code equal comp code node of
private lequal comp less equal comp simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf exp cn2 get id lexer tree constants jjtf exp return new lequal comp this f exp cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code less equal comp code
private term f exp simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 switch cn get id case lexer tree constants jjtnumber return this number cn case lexer tree constants jjtop return this op cn case lexer tree constants jjtf head return this f head cn case lexer tree constants jjtvariable return this variable cn default throw new parser exception an internal parser error occurs node cn get label unexpected throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code f exp code node of the
private binary op op simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 switch cn get id case lexer tree constants jjtbinary operation return this binary operation cn case lexer tree constants jjtunary op return this unary operation cn default throw new parser exception an internal parser error occurs node cn get label unexpected throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code operation code node of
private binary op unary operation simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 if cn get id lexer tree constants jjtf exp return new binary substract new number 0 0 this f exp cn throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code unary operation code
private binary add add op simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf exp cn2 get id lexer tree constants jjtf exp return new binary add this f exp cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code add operation code node
private binary substract substract op simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf exp cn2 get id lexer tree constants jjtf exp return new binary substract this f exp cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code substract operation code
private binary multiply multiply op simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf exp cn2 get id lexer tree constants jjtf exp return new binary multiply this f exp cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code multiply operation code
private binary divide divide op simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtf exp cn2 get id lexer tree constants jjtf exp return new binary divide this f exp cn1 this f exp cn2 throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code divide operation code
private number number simple node node throws parser exception return new number double value of node get image
extracts the object structures from the code number code node of the
private and exp and gd simple node node throws parser exception and exp exp new and exp for int i 0 i node jjt get num children i simple node cn simple node node jjt get child i switch cn get id case lexer tree constants jjtgd exp add this gd cn break default throw new parser exception an internal parser error occurs node cn get label unexpected return exp
extracts the object structures from the code and gd code node of the
private or exp or gd simple node node throws parser exception or exp exp new or exp for int i 0 i node jjt get num children i simple node cn simple node node jjt get child i switch cn get id case lexer tree constants jjtgd exp add this gd cn break default throw new parser exception an internal parser error occurs node cn get label unexpected return exp
extracts the object structures from the code or gd code node of the
private not exp not gd simple node node throws parser exception if node jjt get num children 1 simple node cn simple node node jjt get child 0 if cn get id lexer tree constants jjtgd return new not exp this gd cn throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code not gd code node of the
private imply exp imply gd simple node node throws parser exception if node jjt get num children 2 simple node cn1 simple node node jjt get child 0 simple node cn2 simple node node jjt get child 1 if cn1 get id lexer tree constants jjtgd cn2 get id lexer tree constants jjtgd exp head this gd cn1 exp body this gd cn2 return new imply exp head body throw new parser exception an internal parser error occurs node node get label unexpected
extracts the object structures from the code imply gd code node of
private literal literal simple node node throws parser exception literal exp null if node jjt get num children 1 simple node cn simple node node jjt get child 0 switch cn get id case lexer tree constants jjtatomic formula exp this atomic formula cn break case lexer tree constants jjtnot atomic formula exp this not atomic formula cn break default throw new parser exception an internal parser error occurs node cn get label unexpected return exp
extracts the object structures from the code literal code node of
private literal ground literal simple node node throws parser exception literal exp null if node jjt get num children 1 simple node cn simple node node jjt get child 0 switch cn get id case lexer tree constants jjtatomic formula exp this ground atomic formula cn break case lexer tree constants jjtnot atomic formula exp this not ground atomic formula cn break default throw new parser exception an internal parser error occurs node cn get label unexpected return exp
extracts the object structures from the code literal code node of
private term term simple node node throws parser exception term t null if node jjt get num children 1 simple node cn simple node node jjt get child 0 switch cn get id case lexer tree constants jjtconstant t this constant cn break case lexer tree constants jjtvariable t this variable cn break default throw new parser exception an internal parser error occurs node cn get label unexpected return t
extracts the object structures from the code term code node of the
private void jb init throws exception this add mouse listener new mouse adapter public void mouse pressed mouse event e this mouse pressed e public void mouse released mouse event e this mouse released e this add mouse motion listener new mouse motion adapter public void mouse dragged mouse event e this mouse dragged e
method to initialize any ui objects on the panel
public void paint graphics g super paint g paint the image g draw image image 2 2 null
method to paint the panel and the image on it
private void cmd ok action performed action event e ok true min integer parse int txt min get text max integer parse int txt max get text if min 0 max 0 ok false this set visible false
method called for the ok button action
private void cmd cancel action performed action event e this set visible false
method called for the cancel button action
private void this mouse pressed mouse event e int x int e get point get x if x min val 10 x min val 10 b set min true b set max false last x min val return if x max val 10 x max val 10 b set min false b set max true last x max val return last x 0 b set min false b set max false
method to process mouse presses in the panel for grabbing the min max
public void set min int min this min min txt min set text integer to string min
sets the min value on the histogram display
public void set max int max this max max txt max set text integer to string max
sets the max value on the histogram display
public void set parent screen stretch dialog parent this parent parent
set the parent of this panel
public void paint graphics g super paint g paint the image g draw image image 0 0 null
method to paint the panel and the image on it
public void show image buffered image image this image image this repaint
show this image on the panel
private void this mouse dragged mouse event e int x int e get point get x int y 0 if b set max b set min erase the old line for y 0 y 150 y if image get rgb last x y 0x ffffff 0x cccccc image set rgb last x y 0x ffffff draw the new line for y 0 y 150 y if image get rgb x y 0x ffffff 0x ffffff image set rgb x y 0x cccccc last x x this repaint
method to process the mouse drags for the panel
public float get selected radius float radius float 0 0 if j radio button1 is selected radius float 2 0 else if j radio button2 is selected radius float 3 0 else if j radio button3 is selected radius float 4 0 else if j radio button4 is selected radius float 5 0 system out println radius radius return radius
getter to return the selected radius
private void cmd ok action performed action event e ok true this set visible false
method for performing the ok button action
private void cmd cancel action performed action event e ok false this set visible false
method for performing the cancel button action
public string get url text string tmp null tmp txt url get text if tmp null tmp tmp trim return tmp
method to return the url text from the input box
private void jb init throws exception this set title fits header information this set size new dimension 360 450 j scroll pane1 set vertical scroll bar policy scroll pane constants vertical scrollbar always j scroll pane1 get viewport add txt info null j scroll pane1 get viewport add tbl info null this get content pane add j scroll pane1 null
method to initialize the ui components
public void set info string info txt info set text info
method that sets the info text area
public void table changed table model event e int n column e get column int n row e get first row
this fine grain notification tells listeners the exact range of cells
public string get description return fits file fit fits
returns the description of this file type
public boolean accept file f int index 0 string f name null if null f return false if f is directory return true f name f get name to upper case system out println upper name f name index f name last index of fits if index 0 index f name last index of fit if index 0 return false return true
determines if a file meets the filter conditions
public void add data linked list lst save the current size int n prev size m rows size add this linked list to the existing vector if m rows null m rows new vector m rows add element lst fire table rows inserted n prev size m rows size
add a row of data to the table
public void set color boolean is color this color is color
setter for the color attribute
public void insert at int i linked list lst save the current size int n prev size m rows size add this linked list to the existing vector if m rows null m rows new vector m rows insert element at lst i fire table rows inserted n prev size m rows size
add a row of data to the table at a particular insert point
public void delete data at int i get the linked list first and then remove elements linked list lst linked list m rows element at i iterator it lst list iterator while it has next object obj it next obj null remove object remove the list from the vector m rows remove element at i fire table rows deleted i i
delete a row of data
public void show members fire table data changed
cause the table to refresh its presentation
public string get column name int column if m cols null return string m cols element at column return
get the column name of a column
public void save to disk throws exception buffered file bf null if fits null fits file null throw new exception no fits file loaded image hdu hdu image hdu hdus 0 switch data type case 16 image hdu nh new image hdu hdu get header new image data short data fits delete hdu 0 fits insert hdu nh 0 bf new buffered file fits file get absolute path rw fits write bf bf close break
saves the current image data to the file that was originally specified
public int get row count if m rows null return m rows size return 0
get the row count for this tab e
public int get column count return m cols size
get the column count for this table
public void save to disk file f throws exception buffered file bf null if fits null f null throw new exception no fits file loaded image hdu hdu image hdu hdus 0 switch data type case 16 image hdu nh new image hdu hdu get header new image data short data fits delete hdu 0 fits insert hdu nh 0 bf new buffered file f get absolute path rw fits write bf bf close break
saves the current image data to a new file on the local system
public object get value at int row int column linked list lst linked list m rows element at row return lst get column
get the data point for a given row column
private int find kernel median index int data int sum 0 int index 0 int min integer max value for int i 0 i 9 i sum 0 for int j 0 j 9 j sum math abs data i data j if sum min min sum index i return index
find the index of the median value within the 3x3 array
public void set fits file file fits file this fits file fits file load from disk
sets the file handle to the fits file
public void set fits url string url throws exception try fits url new url url load from url catch exception e fits url null throw e
sets the file url to the fits file
public file get fits file return fits file
returns the file reference to the fits file
public void set short data short short data this short data short data
set the raw data 16 bit unsigned for this image
public void set prev short data short short data this prev short data short data
sets the previous data value arrays
public string get header info string tmp string key null string data null header card hc null image hdu hdu image hdu hdus 0 header hdr hdu get header cursor iter hdr iterator while iter has next hc header card iter next key hc get key data hc get value tmp tmp key data n return tmp
returns the header information for this fits image as a string
public vector get header data vector v new vector string lst null header card hc null image hdu hdu image hdu hdus 0 header hdr hdu get header cursor iter hdr iterator while iter has next hc header card iter next lst new string 2 lst 0 hc get key lst 1 hc get value v add lst return v
returns the header information for this fits image as a vector of linked
private void menu view header action performed action event e if no image loaded we can t view the header if image loaded return string info vector v hdr new vector vector v data null v hdr add item v hdr add value get the header data from the data object v data image get header data create and display the header dialog box header dialog dlg new header dialog v hdr v data dlg set modal true dlg set location relative to image panel dlg set info info dlg set visible true dlg dispose dlg null
view fits header menu choice
private void menu view normal action performed action event e buffered image img tmp null dimension size null zoom value 100 appy the existing screen stretch to the image img tmp tools apply gshisto stretch buf image stretch low value stretch high value show the final stretched image size new dimension img tmp get width img tmp get height image panel set size size image panel set minimum size size image panel set preferred size size image panel show image img tmp lbl zoom set text zoom 100
view normal zoom menu choice
private void menu filter fft action performed action event e todo
filter fft menu choice
private void menu filter unsharp action performed action event e todo
filter unsharp mask menu choice
public void test get line of sight system out println get line of sight terrain instance new terrain float exp result 0 0 f float 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 test get speed system out println get speed terrain instance new terrain float exp result 0 0 f float result instance get 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 speed method of class engine
public void test get damage system out println get damage terrain instance new terrain float exp result 0 0 f float result instance get damage 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 damage method of class engine
public void test get name system out println get name terrain instance new terrain string exp result string result instance get 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 name method of class engine
public void test is accesible system out println is accesible terrain instance new terrain boolean exp result true boolean result instance is accesible 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 accesible method of class engine
public void test set line of sight system out println set line of sight float line of sight 0 0 f terrain instance new terrain instance set line of sight line of sight todo review the generated test code and remove the default call to fail fail the test case is a prototype
test of set line of sight method of class engine
public void test set speed system out println set speed float speed 0 0 f terrain instance new terrain instance set speed speed todo review the generated test code and remove the default call to fail fail the test case is a prototype
test of set speed method of class engine