@Test
    public void drawLineVertical(){
        Whiteboard wb = new Whiteboard();
        Color newColor = new Color(100, 2, 50);
        Color white = new Color();
        ArrayList<Point> expectedPoints = new ArrayList<Point>();
        for (int i = 300; i < 301; i ++){
            for (int j = 200; j < 501; j ++){
                expectedPoints.add(new Point(i, j));
            }
        }
        ArrayList<Point> modifiedPoints = new ArrayList<Point>(wb.drawLine(new Point(300, 200), new Point(300, 500), newColor, 1));

        for (int i = 0; i < Whiteboard.WIDTH; i ++){
            for (int j = 0; j < Whiteboard.HEIGHT; j ++){
                Point p = new Point(i, j);
                if (i == 300 && j >= 200 && j <= 500){
                    assertEquals(true, wb.getPixel(p).equals(newColor));
                }
                else{
                    assertEquals(true, wb.getPixel(p).equals(white));
                }
            }
        }
        
        testArraysEqual(expectedPoints, modifiedPoints);
    }