summaryrefslogtreecommitdiff
path: root/float_test8.bpl
diff options
context:
space:
mode:
authorGravatar Dietrich <dgeisler50@gmail.com>2015-05-22 00:57:33 -0600
committerGravatar Dietrich <dgeisler50@gmail.com>2015-05-22 00:57:33 -0600
commitfe331e0a63c7921a996e007860182bad9628fb0d (patch)
treef6d3bf5213e9d94923b30272949b82e556a1e593 /float_test8.bpl
parent25fca02e1deb9e60e6e330803731c9b4fcd45d34 (diff)
added some float addition tests
Diffstat (limited to 'float_test8.bpl')
-rw-r--r--float_test8.bpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/float_test8.bpl b/float_test8.bpl
new file mode 100644
index 00000000..8d881126
--- /dev/null
+++ b/float_test8.bpl
@@ -0,0 +1,5 @@
+procedure F() returns () {
+ var x : float;
+ x := fp(.1) + fp(.1);
+ assert x == fp(.2);
+} \ No newline at end of file