mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 14:20:37 +08:00
Rename to .amf from .xml
This commit is contained in:
parent
1f2d3d11b9
commit
18ddd3a36d
@ -10,7 +10,7 @@ SCENARIO("Reading AMF file") {
|
||||
GIVEN("badly formed AMF file (missing vertices)") {
|
||||
auto model {new Slic3r::Model()};
|
||||
WHEN("AMF model is read") {
|
||||
auto ret = Slic3r::IO::AMF::read(testfile("test_amf/5061-malicious.xml"),model);
|
||||
auto ret = Slic3r::IO::AMF::read(testfile("test_amf/5061-malicious.amf"),model);
|
||||
THEN("read should return True") {
|
||||
REQUIRE(ret);
|
||||
}
|
||||
@ -19,7 +19,7 @@ SCENARIO("Reading AMF file") {
|
||||
GIVEN("Ok formed AMF file") {
|
||||
auto model {new Slic3r::Model()};
|
||||
WHEN("AMF model is read") {
|
||||
auto ret = Slic3r::IO::AMF::read(testfile("test_amf/read-amf.xml"),model);
|
||||
auto ret = Slic3r::IO::AMF::read(testfile("test_amf/read-amf.amf"),model);
|
||||
THEN("read should return True") {
|
||||
REQUIRE(ret);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user