Fix eval func

This commit is contained in:
BlankCheng
2024-03-18 22:16:04 +08:00
parent 3971763c96
commit 4671455b56
2 changed files with 20 additions and 12 deletions

View File

@@ -86,13 +86,14 @@
],
"func": [
"check_image_size",
"check_structure_sim"
"check_structure_sim_resized"
],
"expected": [
{
"type": "vm_file",
"path": "/home/user/Desktop/dog_with_background.png",
"dest": "dog_with_background.png"
"type": "rule",
"rules": {
"height": 512
}
},
{
"type": "vm_file",
@@ -102,10 +103,9 @@
],
"result": [
{
"type": "rule",
"rules": {
"height": 512
}
"type": "vm_file",
"path": "/home/user/Desktop/dog_with_background.png",
"dest": "dog_with_background.png"
},
{
"type": "vm_file",