This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
Carla
mirror of
https://github.com/falkTX/Carla
Watch
1
Star
0
Fork
0
Code
Releases
42
Activity
Browse Source
Fix a test case
tags/v2.1-alpha1-winvst
falkTX
6 years ago
parent
dbb4541c25
commit
d4a0e291a7
1 changed files
with
5 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-5
source/tests/CarlaUtils1.cpp
+ 5
- 5
source/tests/CarlaUtils1.cpp
View File
@@ -228,16 +228,16 @@ static void test_CarlaUtils()
assert(a1[2] == 1791);
assert(a1[3] == 1791);
int16_t d = 1527, e = 0;
int16_t d = 1527,
d2 = d,
e = 0;
carla_add(&d, &d, 1);
carla_add(&d, &d
2
, 1);
assert(d == 1527*2);
carla_add(&d, &d, 1);
assert(d == 1527*
4
);
carla_add(&d, &d
2
, 1);
assert(d == 1527*
3
);
carla_add(&d, &e, 1);
assert(d == 1527*
4
);
assert(d == 1527*
3
);
assert(e == 0);
carla_add(&e, &d, 1);
Write
Preview
Loading…
Cancel
Save