forked from pz4kybsvg/Conception
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
956 B
45 lines
956 B
2 years ago
|
load(
|
||
|
"@drake//tools/skylark:drake_cc.bzl",
|
||
|
"drake_cc_binary",
|
||
|
"drake_cc_googletest",
|
||
|
"drake_cc_library",
|
||
|
)
|
||
|
load("//tools/lint:lint.bzl", "add_lint_tests")
|
||
|
|
||
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
drake_cc_library(
|
||
|
name = "fibonacci_difference_equation",
|
||
|
hdrs = [
|
||
|
"fibonacci_difference_equation.h",
|
||
|
],
|
||
|
deps = [
|
||
|
"//common:essential",
|
||
|
"//systems/framework:leaf_system",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
drake_cc_binary(
|
||
|
name = "run_fibonacci",
|
||
|
srcs = ["run_fibonacci.cc"],
|
||
|
deps = [
|
||
|
":fibonacci_difference_equation",
|
||
|
"//systems/analysis:simulator",
|
||
|
"//systems/primitives:vector_log_sink",
|
||
|
"@gflags",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
# === test/ ===
|
||
|
|
||
|
drake_cc_googletest(
|
||
|
name = "fibonacci_difference_equation_test",
|
||
|
deps = [
|
||
|
":fibonacci_difference_equation",
|
||
|
"//systems/analysis:simulator",
|
||
|
"//systems/primitives:vector_log_sink",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
add_lint_tests()
|