Add stats track tests (failing)
This commit is contained in:
parent
bd2e89ef06
commit
7c8c71a3de
4 changed files with 66 additions and 8 deletions
|
|
@ -1,7 +1,5 @@
|
|||
(function () {
|
||||
// Calculates time and energy stats
|
||||
//
|
||||
// from BRouter btools.router.StdPath
|
||||
|
||||
class BExpressionContextWay {
|
||||
getMaxspeed() {
|
||||
|
|
@ -18,6 +16,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
// from BRouter btools.router.RoutingContext
|
||||
class RoutingContext {
|
||||
constructor() {
|
||||
this.expctxGlobal = new BExpressionContext();
|
||||
|
|
@ -32,6 +31,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
// from BRouter btools.router.StdPath
|
||||
class StdPath {
|
||||
constructor() {
|
||||
this.totalTime = 0;
|
||||
|
|
@ -143,4 +143,5 @@
|
|||
StdPath.GRAVITY = 9.81;
|
||||
|
||||
BR.StdPath = StdPath;
|
||||
BR.RoutingContext = RoutingContext;
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue