mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 04:45:57 +08:00
fix formatting
This commit is contained in:
parent
8dc4e64160
commit
536124072d
@ -1,6 +1,5 @@
|
|||||||
#include <catch.hpp>
|
#include <catch.hpp>
|
||||||
#include <test_options.hpp>
|
#include <test_options.hpp>
|
||||||
#include <string>
|
|
||||||
#include "Model.hpp"
|
#include "Model.hpp"
|
||||||
#include "TMF.hpp"
|
#include "TMF.hpp"
|
||||||
|
|
||||||
@ -9,9 +8,9 @@ using namespace Slic3r;
|
|||||||
|
|
||||||
SCENARIO("Reading 3mf file") {
|
SCENARIO("Reading 3mf file") {
|
||||||
GIVEN("umlauts in the path of the file") {
|
GIVEN("umlauts in the path of the file") {
|
||||||
auto model {new Slic3r::Model()};
|
auto model {new Slic3r::Model()};
|
||||||
WHEN("3mf model is read") {
|
WHEN("3mf model is read") {
|
||||||
auto ret = Slic3r::IO::TMF::read(std::string(testfile_dir) +"test_3mf/Geräte/box.3mf",model);
|
auto ret = Slic3r::IO::TMF::read(testfile("test_3mf/Geräte/box.3mf"),model);
|
||||||
THEN("read should not return 0") {
|
THEN("read should not return 0") {
|
||||||
REQUIRE(ret == 1);
|
REQUIRE(ret == 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user