projects: update some short descriptions
[nit.git] / examples / rosettacode / boolean_values.nit
1 #!/usr/bin/env nit
2 #
3 # This file is part of NIT ( http://www.nitlanguage.org ).
4 # This program is public domain
5
6 # Task: Boolean values
7 # SEE: <http://rosettacode.org/wiki/Boolean_values>
8 module boolean_values
9
10 if true then print "true"
11 if not false then print "not false"
12 if 1 < 2 then print "1 < 2"
13 if 2 > 1 then print "2 > 1"
14 if not 2 < 1 then print "2 not < 1"
15 if 1 == 1 then print "1 == 1"
16 if 1 != 2 then print "1 != 2"