bin/ai/regression/regression.txt
branchnoai
changeset 9865 f241472f09dc
parent 9851 a5f5a7cf2b61
child 9867 b7d9ffe24f81
equal deleted inserted replaced
9864:4a9b7b610b13 9865:f241472f09dc
   805 --Company--
   805 --Company--
   806   SetCompanyName():     true
   806   SetCompanyName():     true
   807   SetCompanyName():     true
   807   SetCompanyName():     true
   808   SetCompanyName():     true
   808   SetCompanyName():     true
   809   SetCompanyName():     false
   809   SetCompanyName():     false
       
   810   GetLastErrorString(): ERR_NAME_IS_NOT_UNIQUE
   810   GetCompanyName():            Regression
   811   GetCompanyName():            Regression
   811   GetPresidentName():          I. Campbell
   812   GetPresidentName():          I. Campbell
   812   SetPresidentName():          true
   813   SetPresidentName():          true
   813   GetPresidentName():          Regression AI
   814   GetPresidentName():          Regression AI
   814   GetCompanyValue():           0
   815   GetCompanyValue():           0
   818   GetMaxLoanAmount():          300000
   819   GetMaxLoanAmount():          300000
   819   GetLoanInterval():           10000
   820   GetLoanInterval():           10000
   820   SetLoanAmount(1):            false
   821   SetLoanAmount(1):            false
   821   SetLoanAmount(100):          false
   822   SetLoanAmount(100):          false
   822   SetLoanAmount(10000):        false
   823   SetLoanAmount(10000):        false
       
   824   GetLastErrorString():        ERR_PRECONDITION_FAILED
   823   GetBankBalance():            82534
   825   GetBankBalance():            82534
   824   GetLoanAmount():             100000
   826   GetLoanAmount():             100000
   825   SetMinimumLoanAmount(31337): true
   827   SetMinimumLoanAmount(31337): true
   826   GetBankBalance():            22534
   828   GetBankBalance():            22534
   827   GetLoanAmount():             40000
   829   GetLoanAmount():             40000
   831   GetCompanyHQ():              -1
   833   GetCompanyHQ():              -1
   832   BuildCompanyHQ():            true
   834   BuildCompanyHQ():            true
   833   GetCompanyHQ():              33151
   835   GetCompanyHQ():              33151
   834   BuildCompanyHQ():            true
   836   BuildCompanyHQ():            true
   835   GetCompanyHQ():              33153
   837   GetCompanyHQ():              33153
       
   838   BuildCompanyHQ():            false
       
   839   GetLastErrorString():        ERR_AREA_NOT_CLEAR
   836 
   840 
   837 --Engine--
   841 --Engine--
   838   Engine -1
   842   Engine -1
   839     IsValidEngine():    false
   843     IsValidEngine():    false
   840     GetName():          (null : 0x00000000)
   844     GetName():          (null : 0x00000000)