Skip to content

Commit

Permalink
Change some test data
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnson Yeap committed May 26, 2015
1 parent f7b31e2 commit 45760d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/chromosome_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
describe SimpleGa::GeneticAlgorithm::Chromosome do
available_courses = [["Ethnic Relations",2],["Principles of Information Systems",3],["Computer Systems & Organization",3],["Computing Mathematics I",3],["Programming I",5],["Islamic And Asian Civilization",2],["Operating Systems",4],["Human Computer Interaction",4],["Software Project Management",4],["Programming for Web Engineering",4],["Software Requirements Engineering",3]]
available_courses = [["Ethnic Relations",2],["Principles of Information Systems",3],["Computer Systems & Organization",3],["Computing Mathematics I",3],["Programming I",5],["Islamic And Asian Civilization",2],["Operating Systems",4],["Human Computer Interaction",4],["Software Project Management",4],["Programming for Web Engineering",4],["Advance Programming",3]]
SimpleGa::GeneticAlgorithm::Chromosome.set_params(available_courses, 58, 16)

subject { SimpleGa::GeneticAlgorithm::Chromosome.seed }
Expand Down

0 comments on commit 45760d7

Please sign in to comment.