@Test
    public void drawLineSamePointWidth(){
        Whiteboard wb = new Whiteboard();
        Color newColor = new Color(5, 12, 40);
        Color white = new Color();
        ArrayList<Point> expectedPoints = new ArrayList<Point>();
        for (int i = 99; i < 101; i ++){
            for (int j = 99; j < 101; j ++){
                expectedPoints.add(new Point(i, j));
            }
        }
        ArrayList<Point> modifiedPoints = new ArrayList<Point>(wb.drawLine(new Point(100, 100), new Point(100, 100), newColor, 2));
        for (int i = 0; i < Whiteboard.WIDTH; i ++){
            for (int j = 0; j < Whiteboard.HEIGHT; j ++){
                if ((i == 99 || i == 100) && (j == 99 || j == 100)){
                    assertEquals(true, wb.getPixel(new Point(i, j)).equals(newColor));
                }
                else{
                    assertEquals(true, wb.getPixel(new Point(i, j)).equals(white));
                }
            }
        }

        testArraysEqual(expectedPoints, modifiedPoints);
    }