Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drhuffman12/add_team_utils_part_6 (#61)
* drhuffman12/add_team_utils_part_6 remove aarch64 build (for now) * drhuffman12/add_team_utils_part_6 comment cleanup * drhuffman12/add_team_utils_part_6 misc tests re train_and_and_cross_breed_team* * drhuffman12/add_team_utils_part_6 eval_team* * drhuffman12/add_team_utils_part_6 rename 'Ai4cr::Data::Utils' to 'Ai4cr::Utils::Rand'; start 'Utils::IoSet::FileText * drhuffman12/add_team_utils_part_6 initial app and test code re Ai4cr::Utils::IoSet * drhuffman12/add_team_utils_part_6 finalize app and test code for 'Ai4cr::Utils::IoSet::Abstract' and sub-classes * drhuffman12/add_team_utils_part_6 rename 'Ai4cr::Utils::IoSet' as 'Ai4cr::Utils::IoData' * drhuffman12/add_team_utils_part_6 rename 'ios' to 'iod' * drhuffman12/add_team_utils_part_6 handle old/new Enum.to_json * drhuffman12/add_team_utils_part_6 add app and test code re '#iod_to_io_set_with_offset' * drhuffman12/add_team_utils_part_6 app and test code re '#iod_to_io_set_with_offset_time_cols' * drhuffman12/add_team_utils_part_6 adjust tests re 'Ai4cr::Utils::IoData::FileText' (pend the transitional test for Crystal 0.36.0 vs 1.0.0) * drhuffman12/add_team_utils_part_6 version bump from '0.1.22' to '0.1.23'
- Loading branch information
1 parent
376f8eb
commit 54cf06e
Showing
29 changed files
with
1,188 additions
and
233 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
/shard.lock | ||
|
||
/test-results/ | ||
spec/tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: ai4cr | ||
version: 0.1.22 | ||
version: 0.1.23 | ||
|
||
authors: | ||
- Daniel Huffman <drhuffman12@yahoo.com> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
require "./../../../spectator_helper" | ||
|
||
Spectator.describe Ai4cr::Utils::IoData::FileText do | ||
let(file_type_raw) { Ai4cr::Utils::IoData::FileType::Raw } | ||
let(file_type_iod) { Ai4cr::Utils::IoData::FileType::Iod } | ||
|
||
describe "FileType" do | ||
context "Raw" do | ||
it "#to_s" do | ||
expect(file_type_raw.to_s).to eq("Raw") | ||
end | ||
|
||
pending "#to_json" do | ||
# old_type = "0" # as of Crystal 0.36.0 [1e6f96aef] (2021-01-26) | ||
new_type = "raw" # as of Crystal 1.0.0-dev [eef60c49b] (2021-02-25) | ||
|
||
expect(file_type_raw.to_json).to eq(new_type) | ||
end | ||
end | ||
|
||
context "Iod" do | ||
it "#to_s" do | ||
expect(file_type_iod.to_s).to eq("Iod") | ||
end | ||
|
||
pending "#to_json" do | ||
# old_type = "1" # as of Crystal 0.36.0 [1e6f96aef] (2021-01-26) | ||
new_type = "iod" # as of Crystal 1.0.0-dev [eef60c49b] (2021-02-25) | ||
|
||
expect(file_type_iod.to_json).to eq(new_type) | ||
end | ||
end | ||
end | ||
end |
Oops, something went wrong.