block_limit.test.ctrl 565 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1

2
3
4
5
trigger {
	{ "immediate" }
}

Jeroen Vreeken's avatar
Jeroen Vreeken committed
6
blocks (10.0, 0.0) {
Jeroen Vreeken's avatar
Jeroen Vreeken committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
	{ "limit", "limit" }
	
	{ "test_input_float", "in" }
	
	{ "test_output_float", "out"   }
}

links {
	{ "in", "value",  "limit", "in",  true }
	{ "limit", "out", "out", "value", true }
}

params {
	{ "limit", "min", (float) -11.1 }
	{ "limit", "max", (float)  22.2 }
	
	{ "in", "value", 7, (float) 
		{ 0.0, -100.0, -11.1, -11.0, 22.0, 22.2, 100.0 } 
	}

	{ "out", "value", 7, 
		(float) { 0.0, -11.1, -11.1, -11.0, 22.0, 22.2, 22.2 },
		(float) { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }
	}
}
32
33

set trace_server false