1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 12:37:49 +00:00

Drop BigInt support from test

This commit is contained in:
Michael Gehring 2014-10-21 14:12:36 +02:00
parent ac38a2a799
commit 3ecf41cffe

View file

@ -10,12 +10,10 @@
*/
extern crate libc;
extern crate num;
use std::collections::HashMap;
use std::os::{args_as_bytes};
use std::str::{from_utf8};
use num::bigint::{BigInt};
static NAME: &'static str = "test";
@ -126,7 +124,7 @@ fn integers(a: &[u8], b: &[u8], cond: IntegerCondition) -> bool {
(Some(a), Some(b)) => (a, b),
_ => return false,
};
let (a, b): (BigInt, BigInt) = match (from_str(a), from_str(b)) {
let (a, b): (i64, i64) = match (from_str(a), from_str(b)) {
(Some(a), Some(b)) => (a, b),
_ => return false,
};