mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 02:48:12 +08:00
comment out tests
This commit is contained in:
@@ -6,13 +6,14 @@ pub mod util;
|
||||
mod tests {
|
||||
use futures::executor::block_on;
|
||||
use graphene_core::*;
|
||||
use graphene_std::uuid::NodeId;
|
||||
|
||||
#[test]
|
||||
fn double_number() {
|
||||
use graph_craft::document::*;
|
||||
use graph_craft::*;
|
||||
|
||||
let network = NodeNetwork {
|
||||
let mut network = NodeNetwork {
|
||||
exports: vec![NodeInput::node(NodeId(1), 0)],
|
||||
nodes: [
|
||||
// Simple identity node taking a number as input from outside the graph
|
||||
@@ -40,9 +41,7 @@ mod tests {
|
||||
};
|
||||
|
||||
use crate::dynamic_executor::DynamicExecutor;
|
||||
use graph_craft::graphene_compiler::Compiler;
|
||||
|
||||
let compiler = Compiler {};
|
||||
let protonetwork = network.flatten().map(|result| result.0).expect("Graph should be generated");
|
||||
|
||||
let _exec = block_on(DynamicExecutor::new(protonetwork)).map(|_e| panic!("The network should not type check ")).unwrap_err();
|
||||
|
||||
Reference in New Issue
Block a user