Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
epidemian
GitHub Repository: epidemian/gravity
Path: blob/master/test/expression/math/arithmetic_expression_a.gravity
1214 views
#unittest {
	name: "Arithmetic expression (+,-) with multiple subnodes, testing operator execution order.";
	error: NONE;
	result: 5;
};

func main() {
	var a = 5;
	var b = 2;
	var c = 2;
	return a - b + c;
}