You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
235 B

use crate::generator::c::generate_type;
use crate::parser::node_type::Type;
use crate::util::Either;
#[test]
fn test_generate_type_regular_type() {
let t = generate_type(Either::Right(Some(Type::Int)));
assert_eq!(t, "int")
}