test/interpreter/test_sigma.rb in hilbert-0.0.2700100 vs test/interpreter/test_sigma.rb in hilbert-0.0.2700110
- old
+ new
@@ -11,15 +11,21 @@
'∑[x=0,10] x',
'55.0'
)
assert_iq_equal(
+ '∑[i=1, 10] i',
+ '55.0'
+ )
+
+ assert_iq_equal(
'∑[x=0, 10] x^2',
'385.0'
)
assert_iq_equal(
'∑[x=0, 10] x^3',
'3025.0'
)
+
end
end