Failed test case, what am I doing wrong?
I've been trying to get this to work, but I'm not quite sure where I'm going wrong. It'll make sense with the test case in a bit. Some things about what I'm doing. The list must have one or more lines. If there's not at least one line, an IllegalArgumentException is thrown. Each line has some kind of String, then a tab character, then a double, then a newline. If any lines don't follow this pattern, then an IllegalArgumentException would also be thrown. This is ideally supposed to work if you made any number of lists, so that's why I attempted it this way Basically, the program is supposed to