aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-08-28 18:38:30 -0700
committeralon@honor <none@none>2010-08-28 18:38:30 -0700
commit2e650b627c85712be4fde75146e1356e19da990d (patch)
tree6a9247dbdb41bf23e83cc2152fb4a1768e32eccd /tests
parent73732309f32e7d98885fd2acf2031751d5b1c81a (diff)
parseNumerical on consts in structs ; fasta passes
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d11487cf..dfba8897 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -444,17 +444,17 @@ class T(unittest.TestCase):
int main( int argc, const char *argv[] ) {
IUB iub[] = {
- { 'a', 0.27, 5 },
+ { 'a', 0.3029549426680, 5 },
{ 'c', 0.15, 4 },
{ 'g', 0.12, 3 },
{ 't', 0.27, 2 },
};
- printf("*%d,%d,%d*\\n", iub[0].c, int(iub[1].p*100), iub[2].pi);
+ printf("*%d,%d,%d,%d*\\n", iub[0].c, int(iub[1].p*100), iub[2].pi, int(iub[0].p*10000));
// printf("*%d*\\n", int(iub[1].p*100));
return 0;
}
'''
- self.do_test(src, '*97,15,3*')
+ self.do_test(src, '*97,15,3,3029*')
def test_memcpy(self):