func TestDesiredWidth(t *testing.T) {
	c := Canvas{
		draw: drawMetrics{
			tileLength: 50,
		},
		board: &board.Board{
			Config: board.Config{
				NumCols: 13,
			},
		},
	}
	want := 660
	got := c.DesiredWidth()
	if want != got {
		t.Errorf("desired widths not equal: wanted %v, got %v", want, got)
	}
}
// TestDesiredWidth is simple, but it shows what is used in the calculation
TestDesiredWidth is simple, but it shows what is used in the calculation
// TestDesiredWidth is simple but it shows what is used in the calculation
func TestDesiredWidth(t *testing.T) {
	c := Canvas{
		draw: drawMetrics{
			tileLength: 50,
		},
		board: &board.Board{
			Config: board.Config{
				NumCols: 13,
			},
		},
	}
	want := 660
	got := c.DesiredWidth()
	if want != got {
		t.Errorf("desired widths not equal: wanted %v, got %v", want, got)
	}
}
func TestDesiredWidth ( t * testing . T ) { c := Canvas { draw : drawMetrics { tileLength : 50 , } , board : & board . Board { Config : board . Config { NumCols : 13 , } , } , } want := 660 got := c . DesiredWidth ( ) if want != got { t . Errorf ( " " , want , got ) } }
TestDesiredWidth is simple, but it shows what is used in the calculation
TestDesiredWidth is simple but it shows what is used in the calculation