From: villberg Date: Mon, 31 Mar 2014 11:45:54 +0000 (+0000) Subject: Getting closer X-Git-Tag: 1.8.1~91 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=cef5e62c0e79a228a227b79cf14f5c64f07ba360;p=simantics%2Fsysdyn.git Getting closer refs #4765 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29224 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_DiscoveryAndExploitationOfResources.sts b/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_DiscoveryAndExploitationOfResources.sts index e7e584f0..d2b35a77 100644 --- a/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_DiscoveryAndExploitationOfResources.sts +++ b/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_DiscoveryAndExploitationOfResources.sts @@ -6,3 +6,5 @@ >exp = fromJust $ possibleResourceChild m "Experiment" >id = activateExperiment exp >run id +>withinEpsilon (lastValue exp id "/Available Resources") 6.127e-6 0.001 +True \ No newline at end of file diff --git a/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_PredatorAndLimitedPrey.sts b/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_PredatorAndLimitedPrey.sts index 4f754f6e..2aed19ba 100644 --- a/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_PredatorAndLimitedPrey.sts +++ b/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_PredatorAndLimitedPrey.sts @@ -6,3 +6,5 @@ >exp = fromJust $ possibleResourceChild m "Experiment" >id = activateExperiment exp >run id +>withinEpsilon (lastValue exp id "/prey") 0.998 0.001 +True \ No newline at end of file diff --git a/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_ResourceExploitationUseRecycling.sts b/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_ResourceExploitationUseRecycling.sts index dca003ed..9dc029bd 100644 --- a/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_ResourceExploitationUseRecycling.sts +++ b/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_ResourceExploitationUseRecycling.sts @@ -6,3 +6,5 @@ >exp = fromJust $ possibleResourceChild m "Experiment" >id = activateExperiment exp >run id +>withinEpsilon (lastValue exp id "/Resource Demand") 9.243 0.001 +True \ No newline at end of file diff --git a/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_TouristsEnvironmentsAndHotelFacilities.sts b/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_TouristsEnvironmentsAndHotelFacilities.sts index f77a497b..8bfd516f 100644 --- a/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_TouristsEnvironmentsAndHotelFacilities.sts +++ b/org.simantics.sysdyn.tests/src/org/simantics/sysdyn/tests/scripts/ImportModel_TouristsEnvironmentsAndHotelFacilities.sts @@ -6,3 +6,5 @@ >exp = fromJust $ possibleResourceChild m "Experiment" >id = activateExperiment exp >run id +>withinEpsilon (lastValue exp id "/Tourists") 2674.532 0.001 +True \ No newline at end of file