You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
194 B
11 lines
194 B
9 years ago
|
require 'minitest/autorun'
|
||
|
|
||
|
require_relative 'spark'
|
||
|
|
||
|
class TestSpark < Minitest::Test
|
||
|
def test_div_by_zero
|
||
|
spark = Spark.new([0, 0, 0])
|
||
|
assert_equal '▁▁▁', spark.to_s
|
||
|
end
|
||
|
end
|