We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbb37a1 commit 5bae771Copy full SHA for 5bae771
ReactKitCalculatorTests/OutputSpec.swift
@@ -615,6 +615,30 @@ class OutputSpec: QuickSpec
615
616
}
617
618
+ describe("underflow") {
619
+
620
+ it("`. 1 * = = = = = = = = * = `") {
621
622
+ p.input = "."
623
+ p.input = "1"
624
+ p.input = "*"
625
+ for _ in 0..<7 {
626
+ p.input = "="
627
+ }
628
629
+ expect(p.output!).to(equal("0.00000001"))
630
631
632
+ expect(p.output!).to(equal("1e-9"))
633
634
635
636
+ expect(p.output!).to(equal("1e-18"))
637
638
639
640
641
642
// TODO: add bracket feature
643
// describe("bracket") {
644
//
0 commit comments