From 965f06a361abd79c5940746ebeb2419e86c41a89 Mon Sep 17 00:00:00 2001 From: keith Date: Thu, 3 Sep 2020 22:02:48 -0700 Subject: [PATCH] remove old test --- src/editor/grid.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/editor/grid.rs b/src/editor/grid.rs index 885fbfc..bf00c05 100644 --- a/src/editor/grid.rs +++ b/src/editor/grid.rs @@ -245,19 +245,4 @@ mod tests { assert_eq!(character_grid.height, height); assert_eq!(character_grid.characters, vec![None; new_area]); } - - #[test] - fn test_rows() { - let context = Context::new(); - let character_grid = CharacterGrid::new(context.size); - let mut end = 0; - - // RUN FUNCTION - for (row_index, row) in character_grid.rows().enumerate() { - assert_eq!(row.len(), context.size.0 as usize); - end = row_index; - } - - assert_eq!(end, (context.size.1 - 1) as usize); - } }