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

func main() {
	var a = 6;
	var b = 2;
	var c = 3;
	return a / b * c;
}