@@ -673,35 +673,3 @@ func TestGetCellImagesAndAltText(t *testing.T) {
673
673
}
674
674
assert .NoError (t , f .Close ())
675
675
}
676
-
677
- func TestGetImageCells3 (t * testing.T ) {
678
- f , _ := OpenFile ("cell_image2.xlsx" )
679
- for _ , str := range []string {"E5" , "E6" , "E7" } {
680
- p , err := f .GetPictures ("PriceList" , str )
681
- assert .NoError (t , err )
682
- assert .NotNil (t , p )
683
- for _ , x := range p {
684
- assert .Equal (t , PictureInsertTypePlaceInCell , x .InsertType )
685
- t .Logf ("str:%v, p:%v, InsertType:%v Format:%v" , str , x .Extension , x .InsertType , x .Format )
686
- }
687
- }
688
- p , err := f .GetPictures ("PriceList" , "E8" )
689
- assert .NoError (t , err )
690
- assert .NotEqual (t , nil , p )
691
- for _ , x := range p {
692
- assert .Equal (t , PictureInsertTypeIMAGE , x .InsertType )
693
- t .Logf ("E8 p:%v, InsertType:%v Format:%v" , x .Extension , x .InsertType , x .Format )
694
- }
695
-
696
- for _ , str := range []string {"D11" , "D12" , "D13" , "D14" } {
697
- p , err := f .GetPictures ("BillOfMaterials" , str )
698
- assert .NoError (t , err )
699
- assert .NotNil (t , p )
700
- for _ , x := range p {
701
- assert .Equal (t , PictureInsertTypePlaceInCell , x .InsertType )
702
- t .Logf ("str:%v, p:%v, InsertType:%v Format:%v" , str , x .Extension , x .InsertType , x .Format )
703
- }
704
- }
705
-
706
- assert .NoError (t , f .Close ())
707
- }
0 commit comments