mirror of
https://github.com/dkam/decisiontree.git
synced 2025-12-28 15:14:52 +00:00
Removes continuous.png file after specs
The "continuous.png" file is being created during some specs and ends up in the repository. This shouldn't happen.
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe describe DecisionTree::ID3Tree do
|
describe describe DecisionTree::ID3Tree do
|
||||||
|
after :each do
|
||||||
|
File.delete("continuous.png") if File.file?("continuous.png")
|
||||||
|
end
|
||||||
|
|
||||||
describe "simple discrete case" do
|
describe "simple discrete case" do
|
||||||
Given(:labels) { ["sun", "rain"]}
|
Given(:labels) { ["sun", "rain"]}
|
||||||
|
|||||||
Reference in New Issue
Block a user