clean up options
This commit is contained in:
parent
35fc9101fd
commit
e9a757cece
1 changed files with 0 additions and 4 deletions
|
|
@ -132,8 +132,6 @@ pub fn printSection(
|
|||
test "printSection shows header and contracts" {
|
||||
var buf: [8192]u8 = undefined;
|
||||
var w: std.Io.Writer = .fixed(&buf);
|
||||
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
||||
defer _ = gpa.deinit();
|
||||
const calls = [_]zfin.OptionContract{
|
||||
.{ .contract_type = .call, .strike = 150.0, .expiration = .{ .days = 20100 }, .bid = 5.0, .ask = 5.50, .last_price = 5.25 },
|
||||
.{ .contract_type = .call, .strike = 155.0, .expiration = .{ .days = 20100 }, .bid = 2.0, .ask = 2.50, .last_price = 2.25 },
|
||||
|
|
@ -148,8 +146,6 @@ test "printSection shows header and contracts" {
|
|||
test "display shows chain header no color" {
|
||||
var buf: [8192]u8 = undefined;
|
||||
var w: std.Io.Writer = .fixed(&buf);
|
||||
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
||||
defer _ = gpa.deinit();
|
||||
const calls = [_]zfin.OptionContract{};
|
||||
const puts = [_]zfin.OptionContract{};
|
||||
const chains = [_]zfin.OptionsChain{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue