test: Fix some more run-pass bustage. rs=clownshoes

This commit is contained in:
Patrick Walton 2012-12-06 09:28:16 -08:00
parent 7203be1109
commit 219e260009
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
fn main() {
let a: point = {x: 10, y: 11, mut z: 12};
let b: @point = @a;
let b: @point = @copy a;
assert (b.z == 12);
f(b);
assert (a.z == 12);

View File

@ -51,7 +51,7 @@ fn main() {
assert(powf32(25f32, -2f32) == 0.0016f32);
assert(powf64(400f64, 0.5f64) == 20f64);
assert(expf32(1f32) == f32::consts::e);
assert(fabsf32(expf32(1f32) - f32::consts::e) < 0.000001f32);
assert(expf64(1f64) == f64::consts::e);
assert(exp2f32(10f32) == 1024f32);