Difference between revisions of "Test branch"

From Testiwiki
Jump to: navigation, search
(content created by code on page Branch creator)
 
m
Line 16: Line 16:
 
</rcode>
 
</rcode>
 
== Rationale ==
 
== Rationale ==
 +
=== vegeproduction ===
 +
<rcode name='vegeproduction' embed=1 label='Initiate vegeproduction (for developers only)'>
 +
# This is code Op_enXXXX/vegeproduction on page [[Garden Tower]]
 +
library(OpasnetUtils)
 +
vegeproduction < - Ovariable('vegeproduction',
 +
ddata = 'Op_en{{PAGEID}}',
 +
subset = vegeproduction)
 +
objects.store(vegeproduction)
 +
cat('vegeproductionstored. ')
 +
</rcode>
 +
vegeproduction is the amount of vegetables produced in the garden tower. It is a critical benefic that reduces consumption of other products and thus footprint.
 
=== gardenTower ===
 
=== gardenTower ===
 
<rcode name='gardenTower' embed=1 label='Initiate gardenTower (for developers only)' variables='
 
<rcode name='gardenTower' embed=1 label='Initiate gardenTower (for developers only)' variables='
Line 27: Line 38:
 
),
 
),
 
formula = function(...) {
 
formula = function(...) {
gardenTower < - vegeproduction
+
gardenTower < - vegeproduction / 1000 # Scale to kg
 
return(gardenTower)
 
return(gardenTower)
 
}
 
}
Line 37: Line 48:
 
</rcode>
 
</rcode>
 
Garden tower composts kitchen waste and turns it into soil.
 
Garden tower composts kitchen waste and turns it into soil.
=== vegeproduction ===
 
<rcode name='vegeproduction' embed=1 label='Initiate vegeproduction (for developers only)'>
 
# This is code Op_enXXXX/vegeproduction on page [[Garden Tower]]
 
library(OpasnetUtils)
 
vegeproduction < - Ovariable('vegeproduction',
 
ddata = 'Op_en{{PAGEID}}',
 
subset = vegeproduction)
 
objects.store(vegeproduction)
 
cat('vegeproductionstored. ')
 
</rcode>
 
vegeproduction is the amount of vegetables produced in the garden tower. It is a critical benefic that reduces consumption of other products and thus footprint.
 
 
== See also ==
 
== See also ==
 
* [[Handprinter]]
 
* [[Handprinter]]
 
* [[Developing branches]]
 
* [[Developing branches]]
 
== Related files ==
 
== Related files ==

Revision as of 08:23, 7 March 2016


Test branch is a branch of Handprinter. This page is a test case how to manage branches.

Question

How to estimate the life-cycle impacts of Test branch?

Answer

+ Show code

Rationale

vegeproduction

+ Show code

vegeproduction is the amount of vegetables produced in the garden tower. It is a critical benefic that reduces consumption of other products and thus footprint.

gardenTower

+ Show code

Garden tower composts kitchen waste and turns it into soil.

See also

Related files