forked from GenXProject/GenX.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimple_operation.jl
26 lines (24 loc) · 1.16 KB
/
simple_operation.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"""
GenX: An Configurable Capacity Expansion Model
Copyright (C) 2021, Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
A complete copy of the GNU General Public License v2 (GPLv2) is available
in LICENSE.txt. Users uncompressing this from an archive may not have
received this license file. If not, see <http://www.gnu.org/licenses/>.
"""
@doc raw"""
simple_operation(num1::Float64, num2::Float64)
This is just a simple function for adding two numbers intended to start off the unit testing. This function
isn't used in GenX and will be replaced by the ones that are used as we develop the fully-grown unit testing.
"""
function simple_operation(num1::Float64, num2::Float64)
num3 = num1 + num2
return num3
end