Skip to content

Subelement NG vs NG Tests #348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions tests/tests/test-ng-maps/test-ng-maps.mad
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ local ref_cfg = object "ref" {
order = 4, -- 2/4
icase = 56, -- 56/6
debug = 0, -- 0/6
seql = 1.5,
cmap = false, -- false/true

-- list of core values that are changed manually throughout the tests
edir = 1, -- 1/-1 (element direction)
Expand Down Expand Up @@ -88,7 +90,7 @@ local function testDRIFT()
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testQUAD() -- Test the body (~2 min)
Expand Down Expand Up @@ -223,7 +225,7 @@ local function testSBEND() -- Test the body (~2 min)
legend = default_plot_cfg.legend,
}
}
run_test(cfg, {alist = {}})
run_test(cfg)
end

local function testRBEND() -- Test the body (~2 min)
Expand Down Expand Up @@ -253,7 +255,7 @@ local function testRBEND() -- Test the body (~2 min)
series = default_plot_cfg.series,
legend = default_plot_cfg.legend,
} }
run_test(cfg, {alist = {}})
run_test(cfg)
end

local function testRBENDPARALLEL()
Expand Down Expand Up @@ -283,7 +285,7 @@ local function testRBENDPARALLEL()
legend = default_plot_cfg.legend,
}
}
run_test(cfg, {alist = {}})
run_test(cfg)
end

local function testRFMULTIPOLE()
Expand All @@ -310,7 +312,7 @@ local function testRFMULTIPOLE()
alist = tblcat(ref_cfg.alist, {"knl"}),
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testSOL()
Expand All @@ -333,7 +335,7 @@ local function testSOL()
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testRFCAVITY()
Expand All @@ -359,7 +361,7 @@ local function testRFCAVITY()
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testKICKER()
Expand All @@ -385,7 +387,7 @@ local function testKICKER()
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testELSEPARATOR()
Expand Down Expand Up @@ -415,7 +417,7 @@ local function testELSEPARATOR()
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testCCAVITY()
Expand All @@ -441,7 +443,7 @@ local function testCCAVITY()
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testMULTIPOLE()
Expand Down Expand Up @@ -490,7 +492,7 @@ local function testMULTIPOLE()
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testROTATION()
Expand All @@ -516,7 +518,7 @@ local function testROTATION()
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testTRANSLATE() -- Needs verification about tdir and sdir
Expand Down Expand Up @@ -544,7 +546,7 @@ local function testTRANSLATE() -- Needs verification about tdir and sdir
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

local function testCHANGEREF()
Expand Down Expand Up @@ -574,7 +576,7 @@ local function testCHANGEREF()
},
}

run_test(cfg, {alist={}})
run_test(cfg)
end

testDRIFT()
Expand Down
Loading